mirror of https://github.com/golang/go.git
Before this commit, the code declares and assigns "n" with the result of io.ReadFull() -- but the value is not used. The variable is then reused later in the function. This commit removes the first declaration of "n" and declares it closer to where it is used. Change-Id: I7ffe19a10f2a563c306bb6fe6562493435b9dc5a Reviewed-on: https://go-review.googlesource.com/c/go/+/232917 Reviewed-by: Rob Pike <r@golang.org> |
||
|---|---|---|
| .. | ||
| color | ||
| draw | ||
| gif | ||
| internal/imageutil | ||
| jpeg | ||
| png | ||
| testdata | ||
| decode_example_test.go | ||
| decode_test.go | ||
| format.go | ||
| geom.go | ||
| geom_test.go | ||
| image.go | ||
| image_test.go | ||
| names.go | ||
| ycbcr.go | ||
| ycbcr_test.go | ||