projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9534acb
)
Squash the warning that `Result' may not be initialized on all code paths.
author
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 22 Aug 2003 03:35:24 +0000
(
03:35
+0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 22 Aug 2003 03:35:24 +0000
(
03:35
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8042
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/bugpoint/BugDriver.cpp
patch
|
blob
|
history
diff --git
a/tools/bugpoint/BugDriver.cpp
b/tools/bugpoint/BugDriver.cpp
index a1bb2d426364ba441666e510f796f2c5a5cae283..398e4965e00cdcf7918417811cec931bc9dd3c2a 100644
(file)
--- a/
tools/bugpoint/BugDriver.cpp
+++ b/
tools/bugpoint/BugDriver.cpp
@@
-161,7
+161,7
@@
bool BugDriver::run() {
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();
}