mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
nonsense change for(;;) => while(1) just to prevent gcc from warning on
never executed code when -Wunreachable-code is used
This commit is contained in:
parent
d5bdd2b2f9
commit
a357f77c4c
@ -1208,7 +1208,7 @@ CURLcode Curl_telnet(struct connectdata *conn, bool *done)
|
|||||||
ssize_t bytes_written;
|
ssize_t bytes_written;
|
||||||
char *buffer = buf;
|
char *buffer = buf;
|
||||||
|
|
||||||
for(;;) {
|
while(1) {
|
||||||
if(!PeekNamedPipe(stdin_handle, NULL, 0, NULL, &readfile_read, NULL)) {
|
if(!PeekNamedPipe(stdin_handle, NULL, 0, NULL, &readfile_read, NULL)) {
|
||||||
keepon = FALSE;
|
keepon = FALSE;
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user