git.lucas.co / go_mono
git clone https://git.lucas.co/go_mono.git

commit34eb6b7c8bdb1b950b2a7a6dd0747e7e0c202348
parent07fcf9c2fe
authorNigel Tao <nigeltao@golang.org>
date2014-06-30 11:43
go.image/tiff: remove unreachable code.

This makes "go vet code.google.com/p/go.image/..." happy.

LGTM=dsymonds
R=dsymonds
CC=golang-codereviews
https://golang.org/cl/103630047

 tiff/compress.go | 1 -
 1 file changed, 1 deletion(-)

diff --git a/tiff/compress.go b/tiff/compress.go
index 40c7fd8..3f176f0 100644
--- a/tiff/compress.go
+++ b/tiff/compress.go
@@ -55,5 +55,4 @@ func unpackBits(r io.Reader) ([]byte, error) {
 			dst = append(dst, buf[:1-code]...)
 		}
 	}
-	panic("unreachable")
 }