summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/CommandInterpreter.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2014-09-09 08:57:33 +0000
committerEric Christopher <echristo@gmail.com>2014-09-09 08:57:33 +0000
commit9ad8394e3b88390c225dfb6dbd49500662705ae2 (patch)
tree6fa9339e75217e480d8e4d09f82e507dad7aa33a /lldb/source/Interpreter/CommandInterpreter.cpp
parentfbb0628dc31a07cfb2464d812157a1e49d07b172 (diff)
downloadbcm5719-llvm-9ad8394e3b88390c225dfb6dbd49500662705ae2.tar.gz
bcm5719-llvm-9ad8394e3b88390c225dfb6dbd49500662705ae2.zip
Quiet unused variable warning that only occurs
when compiling optimized. llvm-svn: 217429
Diffstat (limited to 'lldb/source/Interpreter/CommandInterpreter.cpp')
-rw-r--r--lldb/source/Interpreter/CommandInterpreter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Interpreter/CommandInterpreter.cpp b/lldb/source/Interpreter/CommandInterpreter.cpp
index 56c8f8c0ad6..1cf3962acdb 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;
OpenPOWER on IntegriCloud