(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

@@ -761,7 +761,7 @@ int SlIterateArray()
* we must have read in all the data, so we must be at end of current block. */
if (_next_offs != 0 && _sl.reader->GetSize() != _next_offs) SlErrorCorrupt("Invalid chunk size");
while (true) {
for (;;) {
uint length = SlReadArrayLength();
if (length == 0) {
_next_offs = 0;