Skip to content

Commit

Permalink
Reduce usage of shadow variable (metalinter warning)
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrunwald committed Aug 12, 2016
1 parent 70edf7c commit dd9c683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func (p *Parser) scanIgnoreWSAndComments() (Token, string) {
if tok == CommentDoubleSlash {
// Scan until the next line ending
for {
tok, _ := p.scan(true)
tok, _ = p.scan(true)
if tok == EOL {
break
}
Expand Down

0 comments on commit dd9c683

Please sign in to comment.