Fix "Boolean result is used in bitwise operation"

Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05
This commit is contained in:
Julien Nabet
2012-08-06 16:44:44 +02:00
parent 3640fdd744
commit df579b1f66

View File

@@ -94,8 +94,7 @@ void SbiScanner::GenError( SbError code )
}
bRes = pBasic->CError( code, aError, nLine, nc, nCol2 );
}
bAbort |= !bRes |
( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE );
bAbort = bAbort || !bRes || ( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE );
}
if( bErrors )
nErrors++;