summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2014-10-16 07:41:32 +0000
committerJason Molenda <jmolenda@apple.com>2014-10-16 07:41:32 +0000
commit5cf1e237f0bad4db2522106a4d87a188aba83918 (patch)
treec706495cc3de355b53522a998888de610fc12def /lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
parentba7add3a806750b440936c4efca9ebcf8575ca1e (diff)
downloadbcm5719-llvm-5cf1e237f0bad4db2522106a4d87a188aba83918.tar.gz
bcm5719-llvm-5cf1e237f0bad4db2522106a4d87a188aba83918.zip
Remove unused variable.
clang static analyzer fixit. llvm-svn: 219904
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp')
-rw-r--r--lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
index c7f313310c7..c371f0ed58a 100644
--- a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
+++ b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp
@@ -5092,7 +5092,6 @@ ObjectFileMachO::SetLoadAddress (Target &target,
lldb::addr_t value,
bool value_is_offset)
{
- bool changed = false;
ModuleSP module_sp = GetModule();
if (module_sp)
{
@@ -5196,10 +5195,9 @@ ObjectFileMachO::SetLoadAddress (Target &target,
}
}
}
- changed = num_loaded_sections > 0;
return num_loaded_sections > 0;
}
- return changed;
+ return false;
}
bool
OpenPOWER on IntegriCloud