completed lint driven refactoring

This commit is contained in:
evilsocket 2018-04-26 12:41:18 +02:00
commit 557d7dbe17
No known key found for this signature in database
GPG key ID: 1564D7F30393A456
8 changed files with 27 additions and 47 deletions

View file

@ -92,7 +92,7 @@ func (env *Environment) Set(name, value string) string {
env.Lock()
defer env.Unlock()
old, _ := env.Data[name]
old := env.Data[name]
env.Data[name] = value
if cb, hasCallback := env.cbs[name]; hasCallback {