Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Remove extraneous err check. (#1109)
Browse files Browse the repository at this point in the history
Found using nogo static checker.
  • Loading branch information
dieseldesai authored and rghetia committed Apr 15, 2019
1 parent e53f09a commit c3a60a2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tag/map_codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,6 @@ func DecodeEach(bytes []byte, fn func(key Key, val string)) error {
return errInvalidValue
}
fn(key, val)
if err != nil {
return err
}
}
return nil
}

0 comments on commit c3a60a2

Please sign in to comment.