Removes redundant iteration over check.

This commit is contained in:
Alan Johnson 2016-08-29 09:10:56 -04:00 committed by GitHub
parent 380684bb10
commit 208cdaef76
1 changed files with 0 additions and 4 deletions

View File

@ -173,10 +173,6 @@ func (v *RevWalk) Iterate(fun RevWalkIterator) (err error) {
return nil
}
if err != nil {
if err.(*GitError).Code == ErrIterOver {
err = nil
}
return err
}