scp_write_nonblock: Value stored to 'nread' is never read
This commit is contained in:
parent
7dfeadef97
commit
26d1698320
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user