tiff: remove InternalError which is not used anywhere.

Change-Id: I92fd800bafd380797651e158c9385dcf3d3578da
Reviewed-on: https://go-review.googlesource.com/40892
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This commit is contained in:
kim yongbin 2017-04-16 22:54:07 +09:00 committed by Brad Fitzpatrick
parent 7c3fafc74f
commit a74d51e6d3

View File

@ -35,13 +35,6 @@ func (e UnsupportedError) Error() string {
return "tiff: unsupported feature: " + string(e) 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") var errNoPixels = FormatError("not enough pixel data")
type decoder struct { type decoder struct {