aboutsummaryrefslogtreecommitdiffstats
path: root/rlp
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2014-12-09 19:49:20 +0800
committerFelix Lange <fjl@twurst.com>2014-12-09 19:49:20 +0800
commit829730dec419112a8e870e1bf0ea20736ab0d02a (patch)
tree26f45b1622abf58c3fc68591f2c4c8c1702f10e4 /rlp
parentc084a7daa58117f1864eac5130ccf3290372fd4c (diff)
downloadgo-tangerine-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.gz
go-tangerine-829730dec419112a8e870e1bf0ea20736ab0d02a.tar.zst
go-tangerine-829730dec419112a8e870e1bf0ea20736ab0d02a.zip
rlp: remove dead code
Diffstat (limited to 'rlp')
-rw-r--r--rlp/decode.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/rlp/decode.go b/rlp/decode.go
index 66830b89c..06786eae7 100644
--- a/rlp/decode.go
+++ b/rlp/decode.go
@@ -238,8 +238,6 @@ func decodeListArray(s *Stream, val reflect.Value, elemdec decoder) error {
} else if err != nil {
return err
}
- if i == vlen {
- }
}
if i < vlen {
zero(val, i)