Braces belong here. No functionality change.
[oota-llvm.git] / lib / Transforms / IPO / PruneEH.cpp
index fa8b95a2ade25380c34a3e94dd3e800823be9641..9f9c2260afbd2f0266e221e6bc233ba888f8e08e 100644 (file)
@@ -185,8 +185,9 @@ bool PruneEH::SimplifyFunction(Function *F) {
 
         ++NumRemoved;
         MadeChange = true;
-      } else
+      } else {
         couldUnwind = true;
+      }
 
     for (BasicBlock::iterator I = BB->begin(), E = BB->end(); I != E; )
       if (CallInst *CI = dyn_cast<CallInst>(I++)) {