-
Dave Cheney authored
Fixes an error where the compiler did not spot that the shadowed err value was set again after being read. That second assignment was lost as the value was redeclared in an inner scope. Spotted by Gordon Klass, https://groups.google.com/forum/#!topic/golang-nuts/MdDLbvOjb4o Change-Id: I28f2da6f98c52afcbb45e17d2b4f36c586598f98 Reviewed-on: https://go-review.googlesource.com/10600Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
f6d43b74