1
0
mirror of https://github.com/muesli/mastotool synced 2024-12-27 18:03:09 +01:00

Remove obsolete Config.Set return value

This commit is contained in:
Christian Muehlhaeuser 2020-08-23 12:09:26 +02:00
parent 9dfd746a5a
commit 77b97800fd
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E

View File

@ -44,7 +44,7 @@ func (c Config) Value(name string) interface{} {
return nil
}
func (c *Config) Set(name, value string) interface{} {
func (c *Config) Set(name, value string) {
found := false
var opts []Option
for _, v := range c.Options {
@ -61,5 +61,4 @@ func (c *Config) Set(name, value string) interface{} {
}
c.Options = opts
return nil
}