mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Simplify boolean conditional return statements.
Patch by Richard <legalize@xmission.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
675da70da5
commit
b9f5ce3a43
@ -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
Block a user