aboutsummaryrefslogtreecommitdiff
path: root/ber
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-08-08 13:19:48 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-08-08 13:19:48 +0200
commitc5393503fdaadd69ba6885ab84fdfc6ea1283d2c (patch)
treefb4195494d0f128fb81144688e1e63e885e66b6b /ber
parent4c4272628632cc881eb52f675e1219b4fbd491aa (diff)
Simplify
Diffstat (limited to 'ber')
-rw-r--r--ber/len.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ber/len.go b/ber/len.go
index aea9965..d06bd8f 100644
--- a/ber/len.go
+++ b/ber/len.go
@@ -8,5 +8,5 @@ func UnmarshalLen(b []byte) (i, n int) {
for k := n; k > 0; k-- {
i += int(b[k]) << uint((k-1)*8)
}
- return i, n
+ return
}