scp_write_nonblock: Value stored to 'nread' is never read

This commit is contained in:
Daniel Stenberg 2010-04-24 12:58:34 +02:00
parent 7dfeadef97
commit 26d1698320

View File

@ -196,8 +196,6 @@ int main(int argc, char *argv[])
sent += rc; sent += rc;
} }
} while (rc > 0 && sent < nread); } while (rc > 0 && sent < nread);
nread -= sent;
} while (1); } while (1);
fprintf(stderr, "Sending EOF\n"); fprintf(stderr, "Sending EOF\n");