[Lldb-commits] [lldb] r372574 - [lldb][NFC] Remove unused variable in Options::HandleOptionArgumentCompletion

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 23 03:02:26 PDT 2019


Author: teemperor
Date: Mon Sep 23 03:02:26 2019
New Revision: 372574

URL: http://llvm.org/viewvc/llvm-project?rev=372574&view=rev
Log:
[lldb][NFC] Remove unused variable in Options::HandleOptionArgumentCompletion

Modified:
    lldb/trunk/source/Interpreter/Options.cpp

Modified: lldb/trunk/source/Interpreter/Options.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Options.cpp?rev=372574&r1=372573&r2=372574&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Options.cpp (original)
+++ lldb/trunk/source/Interpreter/Options.cpp Mon Sep 23 03:02:26 2019
@@ -746,7 +746,6 @@ void Options::HandleOptionArgumentComple
   auto opt_defs = GetDefinitions();
   std::unique_ptr<SearchFilter> filter_up;
 
-  int opt_arg_pos = opt_element_vector[opt_element_index].opt_arg_pos;
   int opt_defs_index = opt_element_vector[opt_element_index].opt_defs_index;
 
   // See if this is an enumeration type option, and if so complete it here:




More information about the lldb-commits mailing list