1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 03:52:49 -05:00

Remove some unused variables.

Thanks to @ch3root again for this patch.
This commit is contained in:
Simon Tatham
2016-01-26 18:36:26 +00:00
parent 0f1cab3182
commit 70f641f845
4 changed files with 1 additions and 8 deletions

View File

@ -111,7 +111,7 @@ void sig_readdata(sel_rfd *rfd, void *data, size_t len)
while (len > 0) {
if (*p == 'C') {
int status;
pid_t pid = waitpid(-1, &status, WNOHANG);
waitpid(-1, &status, WNOHANG);
if (WIFEXITED(status) || WIFSIGNALED(status))
exit(0); /* child process vanished */
}