mirror of
https://github.com/golang/go
synced 2024-11-20 06:24:40 -07:00
cmd/compile: remove unused cases from switch
The first just falls through, and the default case does nothing. They can be deleted. Change-Id: I82ab1ce3acde0b8423334cfbf35f9e0c806cd494 Reviewed-on: https://go-review.googlesource.com/65410 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
This commit is contained in:
parent
83f0af1742
commit
6db697950e
@ -553,10 +553,6 @@ func makeaddable(n *Node) {
|
|||||||
makeaddable(n.Left)
|
makeaddable(n.Left)
|
||||||
|
|
||||||
// nothing to do
|
// nothing to do
|
||||||
case ODOTPTR:
|
|
||||||
fallthrough
|
|
||||||
default:
|
|
||||||
break
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user