X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d6fa1947ccca4a61baf25d22d6455e9acbf8d422..8815b68b87e4bc4830d138fb259f8255230fe954:/unix/uxpty.c diff --git a/unix/uxpty.c b/unix/uxpty.c index 8a3dbe6f..37a017d3 100644 --- a/unix/uxpty.c +++ b/unix/uxpty.c @@ -171,7 +171,6 @@ static struct utmp utmp_entry; * make sense outside a one-pty-per-process setup. */ char **pty_argv; -int use_pty_argv; static void pty_close(Pty pty); @@ -814,7 +813,7 @@ static const char *pty_init(void *frontend, void **backend_handle, Config *cfg, sprintf(shellname, "-%s", p); } else shellname = shell; - execl(getenv("SHELL"), shellname, NULL); + execl(getenv("SHELL"), shellname, (void *)NULL); } /*