1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-01 14:22:27 +00:00

Fix unused variable warnings. (#173)

This commit is contained in:
Bruce Mitchener
2021-01-04 12:58:16 +07:00
committed by GitHub
parent 9373f4ebbe
commit a481057fbe
20 changed files with 56 additions and 45 deletions

View File

@@ -82,13 +82,12 @@ loop:
int ForkUnixShell(int slot, char *PtySlave, char *termtype, char *shellarg)
{
int res, PID, SlaveFD;
int PID, SlaveFD;
struct termios tio;
PID = fork();
if (PID == 0) {
char envstring[64];
char *argvec[4];
if (0 > setsid()) /* create us a new session for tty purposes */