[Lldb-commits] [lldb] r317143 - [Interpreter] Remove unused variable usage. NFCI.

Davide Italiano via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 1 16:46:21 PDT 2017


Author: davide
Date: Wed Nov  1 16:46:21 2017
New Revision: 317143

URL: http://llvm.org/viewvc/llvm-project?rev=317143&view=rev
Log:
[Interpreter] Remove unused variable usage. NFCI.

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

Modified: lldb/trunk/source/Interpreter/OptionValueDictionary.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/OptionValueDictionary.cpp?rev=317143&r1=317142&r2=317143&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/OptionValueDictionary.cpp (original)
+++ lldb/trunk/source/Interpreter/OptionValueDictionary.cpp Wed Nov  1 16:46:21 2017
@@ -227,8 +227,7 @@ OptionValueDictionary::GetSubValue(const
   }
   assert(!temp.empty());
 
-  llvm::StringRef key, value;
-  llvm::StringRef quote_char;
+  llvm::StringRef key, quote_char;
 
   if (temp[0] == '\"' || temp[0] == '\'') {
     quote_char = temp.take_front();




More information about the lldb-commits mailing list