aboutsummaryrefslogtreecommitdiffstats
path: root/internal/revision/parser.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-11-27 14:57:58 +0100
committerGitHub <noreply@github.com>2017-11-27 14:57:58 +0100
commit4e51e9e877e4e70c320bdda7e44d61618c6ae900 (patch)
tree791b48688be56d5936f9384559b234dfddf9a885 /internal/revision/parser.go
parent60c567f0a3c22ac53f219fcc6482ee0e2ff425e6 (diff)
parentc606e9fd6c4a8b9a49d3d276d1547f985accc92f (diff)
downloadgo-git-4e51e9e877e4e70c320bdda7e44d61618c6ae900.tar.gz
Merge pull request #661 from ferhatelmas/ineffassign
all: fixes for ineffective assign
Diffstat (limited to 'internal/revision/parser.go')
-rw-r--r--internal/revision/parser.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/revision/parser.go b/internal/revision/parser.go
index b45a6d8..d2c509e 100644
--- a/internal/revision/parser.go
+++ b/internal/revision/parser.go
@@ -254,7 +254,7 @@ func (p *Parser) parseAt() (Revisioner, error) {
var lit, nextLit string
var err error
- tok, lit, err = p.scan()
+ tok, _, err = p.scan()
if err != nil {
return nil, err