Clean-up lint warnings

This commit is contained in:
fox.cpp 2025-01-24 23:34:09 +03:00
parent 120c5c9ea2
commit dbc030c267
No known key found for this signature in database
GPG key ID: 5B991F6215D2FCC0
17 changed files with 9 additions and 28 deletions

View file

@ -385,7 +385,6 @@ func RegisterModules(globals map[string]interface{}, nodes []config.Node) (endpo
return nil, nil, err
}
block := block
module.RegisterInstance(inst, config.NewMap(globals, block))
for _, alias := range modAliases {
if module.HasInstance(alias) {