Commit e3b38b8a authored by Frank Meerkoetter's avatar Frank Meerkoetter
Browse files

Fix dead stores in the debugger plugin



Found via the clang-static-analyzer

Change-Id: Ic461a8c369bef60081f7c2dfd9d6a778c64dbda0
Reviewed-by: default avatarhjk <hjk@qt.io>
parent abf84c32
......@@ -1879,7 +1879,6 @@ void DebuggerEngine::validateExecutable(DebuggerRunParameters *sp)
switch (sp->toolChainAbi.binaryFormat()) {
case Abi::PEFormat: {
if (sp->masterEngineType != CdbEngineType) {
warnOnInappropriateDebugger = true;
detailedWarning = tr(
"The inferior is in the Portable Executable format.\n"
"Selecting CDB as debugger would improve the debugging "
......@@ -1903,7 +1902,6 @@ void DebuggerEngine::validateExecutable(DebuggerRunParameters *sp)
}
case Abi::ElfFormat: {
if (sp->masterEngineType == CdbEngineType) {
warnOnInappropriateDebugger = true;
detailedWarning = tr(
"The inferior is in the ELF format.\n"
"Selecting GDB or LLDB as debugger would improve the debugging "
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment