]> Cypherpunks repositories - gostls13.git/commit
regexp: remove redundant break
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 6 Apr 2017 11:50:41 +0000 (12:50 +0100)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 25 Apr 2017 15:00:06 +0000 (15:00 +0000)
commit7d547b6411fa6e07e22aca7c98c90d17f7449927
tree152331bad01998f8e2a2aedb4ad1f6f920de6acc
parent516e6f6d5d83dc3dcee6403fab25d5954bbf3f62
regexp: remove redundant break

Breaks are implicit, and since there is no outer loop this one could not
mean a loop break that was missing a label.

Change-Id: Ie91018db1825aa8285c1aa55c9d28fc7ec7148af
Reviewed-on: https://go-review.googlesource.com/39691
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/regexp/onepass.go