mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00:00
Merge pull request #970 from titanous/go1.1-unreachable
Remove code unreachable using Go 1.1
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user