1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-01 06:12:31 +00:00

Remove unused variable declarations.

modified:   array.c
	modified:   array3.c
	modified:   car-cdr.c
	modified:   chardev.c
	modified:   conspage.c
	modified:   ldeboot.c
	modified:   sxhash.c
	modified:   unixfork.c
This commit is contained in:
Nick Briggs
2017-07-18 19:00:36 -07:00
parent 1da1a2cf10
commit ffff6ee267
8 changed files with 17 additions and 35 deletions

View File

@@ -134,12 +134,10 @@ int ForkUnixShell(int slot, char *PtySlave, char *termtype, char *shellarg)
int ForkUnixShell(int slot, char ltr, char numb, char *termtype, char *shellarg)
#endif
{
#ifdef FULLSLAVENAME
char buf[1];
#else
char PtySlave[20], buf[1];
#ifndef FULLSLAVENAME
char PtySlave[20];
#endif
int res, PID, MasterFD, SlaveFD;
int res, PID, SlaveFD;
#ifdef USETERMIOS
struct termios tio;
#else
@@ -558,7 +556,9 @@ int fork_Unix() {
union wait status;
#endif /* SYSVONLY */
#ifdef OCR
int slot;
#endif
#if defined(SYSVONLY) || defined(WAITINT)
status = 0;