summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre@debian.org>2014-04-21 17:43:17 +0000
committerSylvestre Ledru <sylvestre@debian.org>2014-04-21 17:43:17 +0000
commitb96ca6b0c8014477422196abbc350a3fef1e4ac5 (patch)
treee4ed36bba49b7412446b424ce57bc5bf7b88e309 /lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
parent7cd70df7083043b4735c80c554bf47b416886f47 (diff)
downloadbcm5719-llvm-b96ca6b0c8014477422196abbc350a3fef1e4ac5.tar.gz
bcm5719-llvm-b96ca6b0c8014477422196abbc350a3fef1e4ac5.zip
Remove useless declaration
llvm-svn: 206764
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
index 1ed77701770..5d9ff28fec8 100644
--- a/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
+++ b/lldb/source/Plugins/ObjectFile/JIT/ObjectFileJIT.cpp
@@ -295,7 +295,6 @@ ObjectFileJIT::SetLoadAddress (Target &target,
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 &target,
}
}
}
- changed = num_loaded_sections > 0;
return num_loaded_sections > 0;
}
OpenPOWER on IntegriCloud