Merge pull request #736 from tv42/silly-if

Remove unnecessary if in batch handling
master
Ben Johnson 2017-11-19 18:03:07 -07:00 committed by GitHub
commit 9da3174536
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

2
db.go
View File

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