mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cmd/compile: remove redundant "// fallthrough" comments
Change-Id: Ia3f262f06592b66447c213e2350402cd5e6e2ccd Reviewed-on: https://go-review.googlesource.com/22389 Run-TryBot: Matthew Dempsky <mdempsky@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
parent
889c0a66fc
commit
f058ab09fb
4 changed files with 2 additions and 18 deletions
|
|
@ -342,8 +342,6 @@ func staticcopy(l *Node, r *Node, out *[]*Node) bool {
|
|||
return true
|
||||
}
|
||||
fallthrough
|
||||
|
||||
// fall through
|
||||
case OSTRUCTLIT:
|
||||
p := initplans[r]
|
||||
|
||||
|
|
@ -1332,8 +1330,6 @@ func iszero(n *Node) bool {
|
|||
break
|
||||
}
|
||||
fallthrough
|
||||
|
||||
// fall through
|
||||
case OSTRUCTLIT:
|
||||
for _, n1 := range n.List.Slice() {
|
||||
if !iszero(n1.Right) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue