]> Cypherpunks repositories - gostls13.git/commit
encoding/base32: remove redundant conditional
authordchenk <dcherchenko@gmail.com>
Tue, 22 May 2018 04:36:53 +0000 (21:36 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 22 May 2018 17:12:05 +0000 (17:12 +0000)
commitfaa69b906f59bfbe53c079f284fa452e82426c57
treeff7f58188819804f4c112da213ce97c0503907ba
parent31ef3846a792012b0588d92251f3976596c0b1b1
encoding/base32: remove redundant conditional

Immediately following the conditional block removed here is a loop
which checks exactly what the conditional already checked, so the
entire conditional is redundant.

Change-Id: I892fd9f2364d87e2c1cacb0407531daec6643183
Reviewed-on: https://go-review.googlesource.com/114000
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/encoding/base32/base32.go