x/tools/cmd/goyacc: remove unused function.
Found with honnef.co/go/tools/cmd/unused. Change-Id: Iad26e1ae1dbeb29a3223279eccc4ba6f6bb48bd6 Reviewed-on: https://go-review.googlesource.com/37631 Reviewed-by: Alan Donovan <adonovan@google.com>
This commit is contained in:
parent
718875e4f9
commit
43de7a390a
|
|
@ -3234,10 +3234,6 @@ func ungetrune(f *bufio.Reader, c rune) {
|
|||
peekrune = c
|
||||
}
|
||||
|
||||
func write(f *bufio.Writer, b []byte, n int) int {
|
||||
panic("write")
|
||||
}
|
||||
|
||||
func open(s string) *bufio.Reader {
|
||||
fi, err := os.Open(s)
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in New Issue