summaryrefslogtreecommitdiff
path: root/src/pkg/debug/binary/binary.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/debug/binary/binary.go')
-rw-r--r--src/pkg/debug/binary/binary.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/debug/binary/binary.go b/src/pkg/debug/binary/binary.go
index 18c1d648b..78e9baa17 100644
--- a/src/pkg/debug/binary/binary.go
+++ b/src/pkg/debug/binary/binary.go
@@ -89,7 +89,7 @@ func Read(r io.Reader, order ByteOrder, data interface{}) os.Error {
return os.NewError("binary.Read: invalid type " + v.Type().String());
}
d := &decoder{order: order, buf: make([]byte, size)};
- if n, err := io.ReadFull(r, d.buf); err != nil {
+ if _, err := io.ReadFull(r, d.buf); err != nil {
return err;
}
d.value(v);