forked from OSchip/llvm-project
Quiet unused variable warning that only occurs
when compiling optimized. llvm-svn: 217429
This commit is contained in:
parent
fbb0628dc3
commit
9ad8394e3b
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue