]> Cypherpunks repositories - gostls13.git/commit
encoding/gob: remove always false comparison
authorTodd Neal <todd@tneal.org>
Mon, 24 Aug 2015 23:30:53 +0000 (18:30 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 25 Aug 2015 00:14:45 +0000 (00:14 +0000)
commit7ebaa43754872d4da1f58e8fbd2d2db077af5f0f
tree7cfc919243fb3178fb3824aa2bdc2cac9f3c9359
parentacb47657096a728d10b33f2949b5a52ef5226b9d
encoding/gob: remove always false comparison

This is not a functional change. nr is a uint64 and can never be less
than zero, remove the no-op comparison.

Fixes #11279

Change-Id: Iebb36cc8fe97428b503e65d01b5e67d2b2bc7369
Reviewed-on: https://go-review.googlesource.com/13876
Run-TryBot: Todd Neal <todd@tneal.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/encoding/gob/decode.go