Author: echristo
Date: Tue Sep  9 03:57:33 2014
New Revision: 217429

URL: http://llvm.org/viewvc/llvm-project?rev=217429&view=rev
Log:
Quiet unused variable warning that only occurs
when compiling optimized.

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

Modified: lldb/trunk/source/Interpreter/CommandInterpreter.cpp
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/CommandInterpreter.cpp?rev=217429&r1=217428&r2=217429&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/CommandInterpreter.cpp (original)
+++ lldb/trunk/source/Interpreter/CommandInterpreter.cpp Tue Sep  9 03:57:33 
2014
@@ -469,6 +469,7 @@ CommandInterpreter::LoadCommandDictionar
             char buffer[1024];
             int num_printed = snprintf(buffer, 1024, "%s %s", 
break_regexes[i][1], "-o");
             assert (num_printed < 1024);
+           (void) num_printed;
             success = tbreak_regex_cmd_ap->AddRegexCommand 
(break_regexes[i][0], buffer);
             if (!success)
                 break;


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to