diff options
author | Felix Lange <fjl@twurst.com> | 2015-01-06 17:58:36 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2015-01-06 19:23:36 +0800 |
commit | fde0ddb324788a51a94bd0f605bb8f935db2f7f4 (patch) | |
tree | 65ae1f1510ca188be7209015dd5fca43eb347b1f /cmd | |
parent | 117f66e82375b752cc6a9ff22aa0d398ac337bb4 (diff) | |
download | go-tangerine-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.tar.gz go-tangerine-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.tar.zst go-tangerine-fde0ddb324788a51a94bd0f605bb8f935db2f7f4.zip |
cmd/rlpdump: remove stray return
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rlpdump/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/rlpdump/main.go b/cmd/rlpdump/main.go index 8f1c4a8c2..8567dcff8 100644 --- a/cmd/rlpdump/main.go +++ b/cmd/rlpdump/main.go @@ -110,8 +110,7 @@ func dump(s *rlp.Stream, depth int) error { s.List() defer s.ListEnd() if size == 0 { - fmt.Printf(ws(depth) + "[]") - return nil + fmt.Print(ws(depth) + "[]") } else { fmt.Println(ws(depth) + "[") for i := 0; ; i++ { |