Remove unused variable.
authorJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 07:41:32 +0000 (07:41 +0000)
committerJason Molenda <jmolenda@apple.com>
Thu, 16 Oct 2014 07:41:32 +0000 (07:41 +0000)
clang static analyzer fixit.

llvm-svn: 219904

lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp

index c7f3133..c371f0e 100644 (file)
@@ -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