From 1dbc0a20bed5cd85035b4f84a649c4f7386b07ab Mon Sep 17 00:00:00 2001 From: alberth Date: Fri, 25 Feb 2011 21:53:43 +0000 Subject: (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' --- src/strings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/strings.cpp') diff --git a/src/strings.cpp b/src/strings.cpp index c6ad1f445..d5bbabc01 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -675,7 +675,7 @@ static char *FormatString(char *buff, const char *str_arg, int64 *argv, const in std::stack str_stack; str_stack.push(str_arg); - while (true) { + for (;;) { while (!str_stack.empty() && (b = Utf8Consume(&str_stack.top())) == '\0') { str_stack.pop(); } -- cgit v1.2.3-54-g00ecf