[Lldb-commits] [lldb] d9f56fe - Remove unused variable.

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Thu Nov 18 16:00:21 PST 2021


Author: Jim Ingham
Date: 2021-11-18T15:58:20-08:00
New Revision: d9f56feda84ad9d9edfff32c64a70af73c5f9b6a

URL: https://github.com/llvm/llvm-project/commit/d9f56feda84ad9d9edfff32c64a70af73c5f9b6a
DIFF: https://github.com/llvm/llvm-project/commit/d9f56feda84ad9d9edfff32c64a70af73c5f9b6a.diff

LOG: Remove unused variable.

Added: 
    

Modified: 
    lldb/include/lldb/Core/ValueObjectConstResultImpl.h
    lldb/source/Core/ValueObjectConstResultImpl.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/include/lldb/Core/ValueObjectConstResultImpl.h b/lldb/include/lldb/Core/ValueObjectConstResultImpl.h
index 2536c51fa5744..5a7a079d3095c 100644
--- a/lldb/include/lldb/Core/ValueObjectConstResultImpl.h
+++ b/lldb/include/lldb/Core/ValueObjectConstResultImpl.h
@@ -68,7 +68,6 @@ class ValueObjectConstResultImpl {
   ValueObject *m_impl_backend;
   lldb::addr_t m_live_address;
   AddressType m_live_address_type;
-  lldb::ValueObjectSP m_load_addr_backend;
   lldb::ValueObjectSP m_address_of_backend;
 
   ValueObjectConstResultImpl(const ValueObjectConstResultImpl &) = delete;

diff  --git a/lldb/source/Core/ValueObjectConstResultImpl.cpp b/lldb/source/Core/ValueObjectConstResultImpl.cpp
index 980cea049f6fa..fee1da138bbc6 100644
--- a/lldb/source/Core/ValueObjectConstResultImpl.cpp
+++ b/lldb/source/Core/ValueObjectConstResultImpl.cpp
@@ -34,7 +34,7 @@ using namespace lldb_private;
 ValueObjectConstResultImpl::ValueObjectConstResultImpl(
     ValueObject *valobj, lldb::addr_t live_address)
     : m_impl_backend(valobj), m_live_address(live_address),
-      m_live_address_type(eAddressTypeLoad), m_load_addr_backend(),
+      m_live_address_type(eAddressTypeLoad),
       m_address_of_backend() {}
 
 lldb::ValueObjectSP ValueObjectConstResultImpl::Dereference(Status &error) {


        


More information about the lldb-commits mailing list