Simplify boolean conditional return statements.

Patch by Richard <legalize@xmission.com>

llvm-svn: 238134
This commit is contained in:
Rafael Espindola 2015-05-25 13:50:21 +00:00
parent 68a29562f9
commit e7134b2d78
1 changed files with 1 additions and 4 deletions

View File

@ -48,10 +48,7 @@ bool BitstreamCursor::EnterSubBlock(unsigned BlockID, unsigned *NumWordsP) {
if (NumWordsP) *NumWordsP = NumWords;
// Validate that this block is sane.
if (CurCodeSize == 0 || AtEndOfStream())
return true;
return false;
return CurCodeSize == 0 || AtEndOfStream();
}
static uint64_t readAbbreviatedField(BitstreamCursor &Cursor,