2
0

Remove unused msgReader.Err()

This commit is contained in:
Jack Christensen
2017-02-09 19:40:01 -06:00
parent b8fdc38fa8
commit 855276e2cf
-5
View File
@@ -16,11 +16,6 @@ type msgReader struct {
shouldLog func(lvl int) bool
}
// Err returns any error that the msgReader has experienced
func (r *msgReader) Err() error {
return r.err
}
// fatal tells rc that a Fatal error has occurred
func (r *msgReader) fatal(err error) {
if r.shouldLog(LogLevelTrace) {