[Lldb-commits] [lldb] r206764 - Remove useless declaration
Sylvestre Ledru
sylvestre at debian.org
Mon Apr 21 10:43:17 PDT 2014
Author: sylvestre
Date: Mon Apr 21 12:43:17 2014
New Revision: 206764
URL: http://llvm.org/viewvc/llvm-project?rev=206764&view=rev
Log:
Remove useless declaration
Modified:
lldb/trunk/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
Modified: lldb/trunk/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp?rev=206764&r1=206763&r2=206764&view=diff
==============================================================================
--- lldb/trunk/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp (original)
+++ lldb/trunk/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp Mon Apr 21 12:43:17 2014
@@ -295,7 +295,6 @@ ObjectFileJIT::SetLoadAddress (Target &t
lldb::addr_t value,
bool value_is_offset)
{
- bool changed = false;
size_t num_loaded_sections = 0;
SectionList *section_list = GetSectionList ();
if (section_list)
@@ -317,7 +316,6 @@ ObjectFileJIT::SetLoadAddress (Target &t
}
}
}
- changed = num_loaded_sections > 0;
return num_loaded_sections > 0;
}
More information about the lldb-commits
mailing list