Merge pull request #970 from titanous/go1.1-unreachable

Remove code unreachable using Go 1.1
This commit is contained in:
Victor Vieux
2013-06-21 10:44:40 -07:00
4 changed files with 0 additions and 8 deletions
-3
View File
@@ -236,7 +236,6 @@ func (r *bufReader) Read(p []byte) (n int, err error) {
}
r.wait.Wait()
}
panic("unreachable")
}
func (r *bufReader) Close() error {
@@ -678,5 +677,3 @@ func ParseHost(host string, port int, addr string) string {
}
return fmt.Sprintf("tcp://%s:%d", host, port)
}