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:
@ -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 */
|
||||
}
|
||||
|
Reference in New Issue
Block a user