Fix "Boolean result is used in bitwise operation"
Change-Id: Ifed0d87da3ac5bd19a0285f1074f2eeec5717f05
This commit is contained in:
@@ -94,8 +94,7 @@ void SbiScanner::GenError( SbError code )
|
|||||||
}
|
}
|
||||||
bRes = pBasic->CError( code, aError, nLine, nc, nCol2 );
|
bRes = pBasic->CError( code, aError, nLine, nc, nCol2 );
|
||||||
}
|
}
|
||||||
bAbort |= !bRes |
|
bAbort = bAbort || !bRes || ( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE );
|
||||||
( code == SbERR_NO_MEMORY || code == SbERR_PROG_TOO_LARGE );
|
|
||||||
}
|
}
|
||||||
if( bErrors )
|
if( bErrors )
|
||||||
nErrors++;
|
nErrors++;
|
||||||
|
Reference in New Issue
Block a user