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

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 7 14:23:32 PDT 2016


Author: zturner
Date: Fri Oct  7 16:23:31 2016
New Revision: 283603

URL: http://llvm.org/viewvc/llvm-project?rev=283603&view=rev
Log:
Remove unused variable.

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

Modified: lldb/trunk/source/Interpreter/OptionValueEnumeration.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueEnumeration.cpp?rev=283603&r1=283602&r2=283603&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionValueEnumeration.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionValueEnumeration.cpp Fri Oct  7 16:23:31 2016
@@ -118,7 +118,6 @@ size_t OptionValueEnumeration::AutoCompl
 
   const uint32_t num_enumerators = m_enumerations.GetSize();
   if (s && s[0]) {
-    const size_t s_len = strlen(s);
     for (size_t i = 0; i < num_enumerators; ++i) {
       llvm::StringRef name = m_enumerations.GetCStringAtIndex(i);
       if (name.startswith(s))




More information about the lldb-commits mailing list