s/(serr|err2)/_err/g
This commit is contained in:
parent
131f5de7ea
commit
c9de029225
5 changed files with 14 additions and 14 deletions
|
|
@ -261,9 +261,9 @@ func (it *Or) Close() error {
|
|||
|
||||
var err error
|
||||
for _, sub := range it.internalIterators {
|
||||
serr := sub.Close()
|
||||
if serr != nil && err == nil {
|
||||
err = serr
|
||||
_err := sub.Close()
|
||||
if _err != nil && err == nil {
|
||||
err = _err
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue