[llvm-commits] CVS: llvm/tools/bugpoint/BugDriver.cpp
Misha Brukman
brukman at cs.uiuc.edu
Fri Aug 22 19:49:35 PDT 2003
Changes in directory llvm/tools/bugpoint:
BugDriver.cpp updated: 1.12 -> 1.13
---
Log message:
Squash the warning that `Result' may not be initialized on all code paths.
---
Diffs of the changes:
Index: llvm/tools/bugpoint/BugDriver.cpp
diff -u llvm/tools/bugpoint/BugDriver.cpp:1.12 llvm/tools/bugpoint/BugDriver.cpp:1.13
--- llvm/tools/bugpoint/BugDriver.cpp:1.12 Thu Aug 7 16:42:28 2003
+++ llvm/tools/bugpoint/BugDriver.cpp Thu Aug 21 22:35:24 2003
@@ -161,7 +161,7 @@
if (DebugMode == DebugCompile) {
std::cout << "\n*** Debugging miscompilation!\n";
Result = debugMiscompilation();
- } else if (DebugMode == DebugCodegen) {
+ } else { // there is only one other possible value: DebugCodegen
std::cout << "Debugging code generator problem!\n";
Result = debugCodeGenerator();
}
More information about the llvm-commits
mailing list