cmd/goyacc: remove ineffective break statement
Found with honnef.co/go/tools/cmd/staticcheck. Change-Id: I7f765ef1710d151ebda5716c99587acd3a90db1f Reviewed-on: https://go-review.googlesource.com/38173 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
parent
1f5953e340
commit
d332283808
|
|
@ -406,6 +406,7 @@ outer:
|
|||
break outer
|
||||
|
||||
case ';':
|
||||
// Do nothing.
|
||||
|
||||
case START:
|
||||
t = gettok()
|
||||
|
|
@ -498,7 +499,7 @@ outer:
|
|||
continue
|
||||
|
||||
case ';':
|
||||
break
|
||||
// Do nothing.
|
||||
|
||||
case IDENTIFIER:
|
||||
j = chfind(0, tokname)
|
||||
|
|
|
|||
Loading…
Reference in New Issue