forked from OSchip/llvm-project
Simplify boolean conditional return statements.
Patch by Richard <legalize@xmission.com> llvm-svn: 238134
This commit is contained in:
parent
68a29562f9
commit
e7134b2d78
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue