mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-26 09:18:56 +00:00
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
This commit is contained in:
@@ -161,7 +161,7 @@ bool BugDriver::run() {
|
|||||||
if (DebugMode == DebugCompile) {
|
if (DebugMode == DebugCompile) {
|
||||||
std::cout << "\n*** Debugging miscompilation!\n";
|
std::cout << "\n*** Debugging miscompilation!\n";
|
||||||
Result = debugMiscompilation();
|
Result = debugMiscompilation();
|
||||||
} else if (DebugMode == DebugCodegen) {
|
} else { // there is only one other possible value: DebugCodegen
|
||||||
std::cout << "Debugging code generator problem!\n";
|
std::cout << "Debugging code generator problem!\n";
|
||||||
Result = debugCodeGenerator();
|
Result = debugCodeGenerator();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user