[Lldb-commits] [lldb] aa09d1f - [lldb] Remove unused variable. NFCI

Benjamin Kramer via lldb-commits lldb-commits at lists.llvm.org
Tue Jul 20 01:35:32 PDT 2021


Author: Benjamin Kramer
Date: 2021-07-20T10:34:05+02:00
New Revision: aa09d1f9c91555b715481defc84cc96d80e52516

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

LOG: [lldb] Remove unused variable. NFCI

Added: 
    

Modified: 
    lldb/source/Target/Target.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Target/Target.cpp b/lldb/source/Target/Target.cpp
index 2a0dcaa4ce6b..fe715bbed3e7 100644
--- a/lldb/source/Target/Target.cpp
+++ b/lldb/source/Target/Target.cpp
@@ -1188,7 +1188,6 @@ bool Target::DisableAllWatchpoints(bool end_to_end) {
   if (!ProcessIsValid())
     return false;
 
-  size_t num_watchpoints = m_watchpoint_list.GetSize();
   for (WatchpointSP wp_sp : m_watchpoint_list.Watchpoints()) {
     if (!wp_sp)
       return false;


        


More information about the lldb-commits mailing list