Add a comment explaining why we're casting the local

variable.

llvm-svn: 217456
This commit is contained in:
Eric Christopher 2014-09-09 19:26:45 +00:00
parent fe3842cda7
commit 5c91d5c17a
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);
// Quiet unused variable warning for release builds.
(void) num_printed;
success = tbreak_regex_cmd_ap->AddRegexCommand (break_regexes[i][0], buffer);
if (!success)