mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1223652 - Remove redundant else block after return statement in CGBlockScopeList::findEnclosingScope. r=arai
This commit is contained in:
parent
7653ba13db
commit
cf6e3a6472
@ -8459,11 +8459,9 @@ CGBlockScopeList::findEnclosingScope(uint32_t index)
|
||||
// scope contains POS, it should still be open, so its length should
|
||||
// be zero.
|
||||
return list[index].index;
|
||||
} else {
|
||||
// Conversely, if the length is not zero, it should not contain
|
||||
// POS.
|
||||
MOZ_ASSERT_IF(inPrologue == list[index].endInPrologue, list[index].end <= pos);
|
||||
}
|
||||
// Conversely, if the length is not zero, it should not contain POS.
|
||||
MOZ_ASSERT_IF(inPrologue == list[index].endInPrologue, list[index].end <= pos);
|
||||
}
|
||||
|
||||
return BlockScopeNote::NoBlockScopeIndex;
|
||||
|
Loading…
Reference in New Issue
Block a user