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