Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(26)

Unified Diff: src/pkg/bufio/bufio.go

Issue 7712044: code review 7712044: all: remove now-unnecessary unreachable panics (Closed)
Patch Set: diff -r 6db3ee1a6ff3 https://go.googlecode.com/hg/ Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/cmd/go/build.go ('k') | src/pkg/bufio/scan.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/bufio/bufio.go
===================================================================
--- a/src/pkg/bufio/bufio.go
+++ b/src/pkg/bufio/bufio.go
@@ -274,7 +274,6 @@
return b.buf, ErrBufferFull
}
}
- panic("not reached")
}
// ReadLine is a low-level line-reading primitive. Most callers should use
« no previous file with comments | « src/cmd/go/build.go ('k') | src/pkg/bufio/scan.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b