1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-19 20:49:11 +00:00

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

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

View File

@@ -379,7 +379,7 @@ static bool GunzipFile(const ContentInfo *ci)
ret = false;
} else {
byte buff[8192];
while (1) {
for (;;) {
int read = gzread(fin, buff, sizeof(buff));
if (read == 0) {
/* If gzread() returns 0, either the end-of-file has been