From 5cf1e237f0bad4db2522106a4d87a188aba83918 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 16 Oct 2014 07:41:32 +0000 Subject: [PATCH] Remove unused variable. clang static analyzer fixit. llvm-svn: 219904 --- lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp b/lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp index c7f3133..c371f0e 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 -- 2.7.4