aboutsummaryrefslogtreecommitdiff
path: root/src/archive
diff options
context:
space:
mode:
authorMartin Möhrmann <moehrmann@google.com>2017-08-13 13:00:33 +0200
committerMartin Möhrmann <moehrmann@google.com>2017-08-15 04:24:52 +0000
commitde7e5d45df866015fa5cb7c9997b2d1119366b9a (patch)
tree27d42e538a870d7f768c9250577c3ad63b845d59 /src/archive
parent365594ad59873cd8f7fde5ec158067bf695185ee (diff)
downloadgo-de7e5d45df866015fa5cb7c9997b2d1119366b9a.tar.xz
strconv: cleanup variable declarations in ParseUint
Move variable declarations closer to their first uses. Use an additional string variable s0 for error reporting that references the original input string. This allows the variable s to be modified. Change-Id: I4725152490ca1dc10c1161ad8ad2f4ae8933493f Reviewed-on: https://go-review.googlesource.com/55138 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Reviewed-by: Marvin Stenger <marvin.stenger94@gmail.com> Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/archive')
0 files changed, 0 insertions, 0 deletions