mirror of https://github.com/golang/go.git
internal/exportdata: add missing return
Change-Id: I4c4b6f038193933a42988837fc2e385f8b6df980
This commit is contained in:
parent
858a0e9dfd
commit
3eee41957d
|
|
@ -85,6 +85,7 @@ func ReadUnified(r *bufio.Reader) (data []byte, err error) {
|
|||
|
||||
if n < 0 {
|
||||
err = fmt.Errorf("invalid size (%d) in the archive file: %d bytes remain without section headers (recompile package)", size, n)
|
||||
return
|
||||
}
|
||||
|
||||
// Read n bytes from buf.
|
||||
|
|
|
|||
Loading…
Reference in New Issue