[Lldb-commits] [lldb] r289994 - Fix compiler warning.

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 16 13:35:12 PST 2016


Author: zturner
Date: Fri Dec 16 15:35:12 2016
New Revision: 289994

URL: http://llvm.org/viewvc/llvm-project?rev=289994&view=rev
Log:
Fix compiler warning.

Modified:
    lldb/trunk/source/Commands/CommandObjectMemory.cpp

Modified: lldb/trunk/source/Commands/CommandObjectMemory.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectMemory.cpp?rev=289994&r1=289993&r2=289994&view=diff
==============================================================================
--- lldb/trunk/source/Commands/CommandObjectMemory.cpp (original)
+++ lldb/trunk/source/Commands/CommandObjectMemory.cpp Fri Dec 16 15:35:12 2016
@@ -1403,7 +1403,6 @@ protected:
     uint64_t uval64;
     int64_t sval64;
     bool success = false;
-    const size_t num_value_args = command.GetArgumentCount();
     for (auto &entry : command) {
       switch (m_format_options.GetFormat()) {
       case kNumFormats:




More information about the lldb-commits mailing list