fixed variable shadowing

This commit is contained in:
Fabien Potencier 2017-02-07 06:44:41 +01:00
parent 7ed5014241
commit 538f5638df

View file

@ -26,7 +26,7 @@ func newState(config *Config, result *Result) (*state, error) {
var err error
// validate config
if err := config.Validate(); err != nil {
if err = config.Validate(); err != nil {
return nil, err
}