diff options
author | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-22 03:35:24 +0000 |
---|---|---|
committer | Misha Brukman <brukman+llvm@gmail.com> | 2003-08-22 03:35:24 +0000 |
commit | 79063d6c4b6441c672962b9543b6f5fa2876e0bd (patch) | |
tree | 949ee4231fdae8140cfc7b161970ce10ad33106f /tools/bugpoint/BugDriver.cpp | |
parent | 9534acbf774cd7918c1f412ec2aac1834eea24d5 (diff) | |
download | external_llvm-79063d6c4b6441c672962b9543b6f5fa2876e0bd.zip external_llvm-79063d6c4b6441c672962b9543b6f5fa2876e0bd.tar.gz external_llvm-79063d6c4b6441c672962b9543b6f5fa2876e0bd.tar.bz2 |
Squash the warning that `Result' may not be initialized on all code paths.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8042 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/bugpoint/BugDriver.cpp')
-rw-r--r-- | tools/bugpoint/BugDriver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/bugpoint/BugDriver.cpp b/tools/bugpoint/BugDriver.cpp index a1bb2d4..398e496 100644 --- 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(); } |