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:
@@ -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
|
||||
|
Reference in New Issue
Block a user