Correcting all go vet errors

This commit is contained in:
Kris Rousey
2015-08-07 18:52:23 -07:00
parent 9fdd793555
commit 565189f5b8
118 changed files with 285 additions and 298 deletions

View File

@@ -466,7 +466,6 @@ func (p *Parser) parse() ([]Requirement, error) {
return nil, fmt.Errorf("found '%s', expected: identifier or 'end of string'", lit)
}
}
return requirements, nil
}
func (p *Parser) parseRequirement() (*Requirement, error) {
@@ -558,7 +557,6 @@ func (p *Parser) parseValues() (util.StringSet, error) {
default:
return nil, fmt.Errorf("found '%s', expected: ',', ')' or identifier", lit)
}
return util.NewStringSet(), nil
}
// parseIdentifiersList parses a (possibly empty) list of