mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
all: remove now-unnecessary unreachable panics
Take advantage of the new terminating statement rule. R=golang-dev, r, gri CC=golang-dev https://golang.org/cl/7712044
This commit is contained in:
parent
5f91a62a3c
commit
e15c0ac693
32 changed files with 1 additions and 39 deletions
|
|
@ -198,7 +198,6 @@ func (f *File) write(b []byte) (n int, err error) {
|
|||
|
||||
return n, err
|
||||
}
|
||||
panic("not reached")
|
||||
}
|
||||
|
||||
// pwrite writes len(b) bytes to the File starting at byte offset off.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue