Skip to content

Commit

Permalink
Remove extraneous err check. (census-instrumentation#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 25, 2019
1 parent f7498f3 commit 3979b65
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 3979b65

Please sign in to comment.