From 9ad8394e3b88390c225dfb6dbd49500662705ae2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 9 Sep 2014 08:57:33 +0000 Subject: [PATCH] Quiet unused variable warning that only occurs when compiling optimized. llvm-svn: 217429 --- lldb/source/Interpreter/CommandInterpreter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp index 56c8f8c0ad6a..1cf3962acdb9 100644 --- a/lldb/source/Interpreter/CommandInterpreter.cpp +++ b/lldb/source/Interpreter/CommandInterpreter.cpp @@ -469,6 +469,7 @@ CommandInterpreter::LoadCommandDictionary () 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;