(svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)'

This commit is contained in:
alberth
2011-02-25 21:53:43 +00:00
parent c43e818ff2
commit a14f4eb271
11 changed files with 14 additions and 14 deletions

View File

@@ -675,7 +675,7 @@ static char *FormatString(char *buff, const char *str_arg, int64 *argv, const in
std::stack<const char *> str_stack;
str_stack.push(str_arg);
while (true) {
for (;;) {
while (!str_stack.empty() && (b = Utf8Consume(&str_stack.top())) == '\0') {
str_stack.pop();
}