Remove compiler error

I got an error "function ends without a return statement" on go1.0.2
This commit is contained in:
Eric L. Frederich 2013-11-30 22:40:21 -05:00
parent 8d3a4e0ee8
commit fdaaa1381b
1 changed files with 1 additions and 2 deletions

View File

@ -49,7 +49,6 @@ func (err ErrNo) Error() string {
func (err Error) Error() string { func (err Error) Error() string {
if err.err != "" { if err.err != "" {
return err.err return err.err
} else {
return errorString(err)
} }
return errorString(err)
} }