mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Add braces to remove silly warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147264 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aba65b05fc
commit
467ef21caf
@ -569,7 +569,7 @@ static bool DebugACrash(BugDriver &BD,
|
||||
for (Function::const_iterator BI = FI->begin(), E = FI->end(); BI != E;
|
||||
++BI)
|
||||
for (BasicBlock::const_iterator I = BI->begin(), E = --BI->end();
|
||||
I != E; ++I, ++CurInstructionNum)
|
||||
I != E; ++I, ++CurInstructionNum) {
|
||||
if (InstructionsToSkipBeforeDeleting) {
|
||||
--InstructionsToSkipBeforeDeleting;
|
||||
} else {
|
||||
@ -594,6 +594,7 @@ static bool DebugACrash(BugDriver &BD,
|
||||
// one.
|
||||
delete M;
|
||||
}
|
||||
}
|
||||
|
||||
if (InstructionsToSkipBeforeDeleting) {
|
||||
InstructionsToSkipBeforeDeleting = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user