Skip to content

Commit

Permalink
Merge pull request #68 from heyitsanthony/sync-silly-if
Browse files Browse the repository at this point in the history
Remove unnecessary if in batch handling
  • Loading branch information
xiang90 committed Nov 26, 2017
2 parents 32c383e + bcfcdab commit b436469
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions db.go
Original file line number Diff line number Diff line change
Expand Up @@ -802,9 +802,7 @@ retry:

// pass success, or bolt internal errors, to all callers
for _, c := range b.calls {
if c.err != nil {
c.err <- err
}
c.err <- err
}
break retry
}
Expand Down

0 comments on commit b436469

Please sign in to comment.