s/(serr|err2)/_err/g

This commit is contained in:
Andrew Dunham 2015-04-15 16:39:51 -07:00
parent 131f5de7ea
commit c9de029225
5 changed files with 14 additions and 14 deletions

View file

@ -132,9 +132,9 @@ func (it *Not) NextPath() bool {
func (it *Not) Close() error {
err := it.primaryIt.Close()
err2 := it.allIt.Close()
if err2 != nil && err == nil {
err = err2
_err := it.allIt.Close()
if _err != nil && err == nil {
err = _err
}
return err