]> Cypherpunks repositories - gostls13.git/commit
cmd/go: remove unnecessary else conditions
authordiplozoon <huyuumi.dev@gmail.com>
Tue, 23 Oct 2018 13:17:20 +0000 (13:17 +0000)
committerIan Lance Taylor <iant@golang.org>
Tue, 23 Oct 2018 14:44:06 +0000 (14:44 +0000)
commit0d6569346ef3709052bad4a714634389f083dc3e
treed1370860b1ed35378d56100d0e53196f72c70dba
parentc9bc1340527c74c320028f2a35407a747e4ecda7
cmd/go: remove unnecessary else conditions

Fixes golint warning about "if block ends with a return statement, so drop this else and outdent its block".

Change-Id: I6fc8724f586efcb6e2ed92ee36be421d3e9a8c80
Reviewed-on: https://go-review.googlesource.com/c/144137
Reviewed-by: Ralph Corderoy <ralph@inputplus.co.uk>
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/go/internal/semver/semver.go