diff options
| author | Cherry Zhang <cherryyz@google.com> | 2020-05-08 17:12:45 -0400 |
|---|---|---|
| committer | Cherry Zhang <cherryyz@google.com> | 2020-08-18 21:18:14 +0000 |
| commit | 84a62453e5c01df3f7d0c48d9aca32832c2052c1 (patch) | |
| tree | 9b816789eefd9226678ce28cbbed0c4b627a600c /src/path/filepath/example_unix_test.go | |
| parent | e7c7ce646f37b260fe5a5635bc52243d28125dd8 (diff) | |
| download | go-84a62453e5c01df3f7d0c48d9aca32832c2052c1.tar.xz | |
cmd/compile: remove unnecessary error condition on reading fingerprint
io.ReadFull guarantees n == len(buf) if and only if err == nil,
so the length check is redundant.
Change-Id: I15bff97868e27a65648acd791883cac8dab77630
Reviewed-on: https://go-review.googlesource.com/c/go/+/232988
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/path/filepath/example_unix_test.go')
0 files changed, 0 insertions, 0 deletions
