mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
nonsence change to make -Wunreachable-code get happy
This commit is contained in:
parent
d7579087f2
commit
107413c021
@ -163,7 +163,7 @@ void hugehelp(void)
|
|||||||
if (inflateInit2(&z, -MAX_WBITS) != Z_OK)
|
if (inflateInit2(&z, -MAX_WBITS) != Z_OK)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (;;) {
|
while(1) {
|
||||||
z.avail_out = (int)sizeof(buf);
|
z.avail_out = (int)sizeof(buf);
|
||||||
z.next_out = buf;
|
z.next_out = buf;
|
||||||
status = inflate(&z, Z_SYNC_FLUSH);
|
status = inflate(&z, Z_SYNC_FLUSH);
|
||||||
@ -171,7 +171,8 @@ void hugehelp(void)
|
|||||||
fwrite(buf, sizeof(buf) - z.avail_out, 1, stdout);
|
fwrite(buf, sizeof(buf) - z.avail_out, 1, stdout);
|
||||||
if (status == Z_STREAM_END)
|
if (status == Z_STREAM_END)
|
||||||
break;
|
break;
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
break; /* Error */
|
break; /* Error */
|
||||||
}
|
}
|
||||||
inflateEnd(&z);
|
inflateEnd(&z);
|
||||||
|
Loading…
Reference in New Issue
Block a user