mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -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 */
|
||||
}
|
||||
|
@ -325,9 +325,7 @@ static void proc_rec_opt(Telnet telnet, int cmd, int option)
|
||||
|
||||
static void process_subneg(Telnet telnet)
|
||||
{
|
||||
unsigned char b[2048], *p, *q;
|
||||
int var, value, n;
|
||||
char *e;
|
||||
|
||||
switch (telnet->sb_opt) {
|
||||
case TELOPT_OLD_ENVIRON:
|
||||
|
Reference in New Issue
Block a user