Quiet unused variable warning that only occurs

when compiling optimized.

llvm-svn: 217429
This commit is contained in:
Eric Christopher 2014-09-09 08:57:33 +00:00
parent fbb0628dc3
commit 9ad8394e3b
1 changed files with 1 additions and 0 deletions

View File

@ -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;