diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-12-25 06:56:22 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-12-25 06:56:22 +0000 |
commit | 467ef21cafa8be9c62f4adc70a04496607336cd8 (patch) | |
tree | f0039d9741a572a415eb0c5a869c5a5f22b60b61 /tools | |
parent | aba65b05fc5dd8649725431e38359b7fa1ab59e8 (diff) |
Add braces to remove silly warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@147264 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools')
-rw-r--r-- | tools/bugpoint/CrashDebugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/bugpoint/CrashDebugger.cpp b/tools/bugpoint/CrashDebugger.cpp index cdb100b8d5..aed16f47e0 100644 --- a/tools/bugpoint/CrashDebugger.cpp +++ b/tools/bugpoint/CrashDebugger.cpp @@ -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; |