From a74d51e6d3d6edafd4357ba52106ac9a3ae8ebc3 Mon Sep 17 00:00:00 2001 From: kim yongbin Date: Sun, 16 Apr 2017 22:54:07 +0900 Subject: [PATCH] tiff: remove InternalError which is not used anywhere. Change-Id: I92fd800bafd380797651e158c9385dcf3d3578da Reviewed-on: https://go-review.googlesource.com/40892 Run-TryBot: Brad Fitzpatrick TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- tiff/reader.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tiff/reader.go b/tiff/reader.go index cfe6fed..0e3d332 100644 --- a/tiff/reader.go +++ b/tiff/reader.go @@ -35,13 +35,6 @@ func (e UnsupportedError) Error() string { return "tiff: unsupported feature: " + string(e) } -// An InternalError reports that an internal error was encountered. -type InternalError string - -func (e InternalError) Error() string { - return "tiff: internal error: " + string(e) -} - var errNoPixels = FormatError("not enough pixel data") type decoder struct {