cmd/rlpdump: remove extra buffer

pull/235/head
Felix Lange 10 years ago
parent 04c0f7e15c
commit ec4dee0fcd
  1. 3
      cmd/rlpdump/main.go

@ -19,7 +19,6 @@
package main package main
import ( import (
"bufio"
"bytes" "bytes"
"encoding/hex" "encoding/hex"
"flag" "flag"
@ -67,7 +66,7 @@ func main() {
die(err) die(err)
} }
defer fd.Close() defer fd.Close()
r = bufio.NewReader(fd) r = fd
default: default:
fmt.Fprintln(os.Stderr, "Error: too many arguments") fmt.Fprintln(os.Stderr, "Error: too many arguments")

Loading…
Cancel
Save