aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/encoding/binary/varint.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/encoding/binary/varint.go')
-rw-r--r--libgo/go/encoding/binary/varint.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/libgo/go/encoding/binary/varint.go b/libgo/go/encoding/binary/varint.go
index 7035529..3a2dfa3c 100644
--- a/libgo/go/encoding/binary/varint.go
+++ b/libgo/go/encoding/binary/varint.go
@@ -120,7 +120,6 @@ func ReadUvarint(r io.ByteReader) (uint64, error) {
x |= uint64(b&0x7f) << s
s += 7
}
- panic("unreachable")
}
// ReadVarint reads an encoded signed integer from r and returns it as an int64.