]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: remove unused cases from switch
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 22 Sep 2017 16:49:12 +0000 (17:49 +0100)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 22 Sep 2017 17:15:31 +0000 (17:15 +0000)
commit6db697950eeab6d6ea4076bd97f6572918a2d5a7
treed66f84ef69e18125d352f65cfae9e6018d47f2e5
parent83f0af1742db6830a5b3124bbef7f6d2bf2a1ddf
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>
src/cmd/compile/internal/gc/racewalk.go