Removed unused variables.

This commit is contained in:
Alexander Langer 1997-06-27 21:51:59 +00:00
parent d144ffea1f
commit b84136c8f6

View File

@ -39,7 +39,7 @@ static char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 8.1 (Berkeley) 6/20/93";*/
static char rcsid[] = "$Id: main.c,v 1.19 1997/02/22 14:21:39 peter Exp $";
static char rcsid[] = "$Id: main.c,v 1.20 1997/06/03 12:56:47 davidn Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -183,7 +183,6 @@ main(argc, argv)
{
extern char **environ;
const char *tname;
int repcnt = 0, failopenlogged = 0;
int first_sleep = 1, first_time = 1;
struct rlimit limit;
int rval;
@ -220,8 +219,6 @@ main(argc, argv)
if (argc <= 2 || strcmp(argv[2], "-") == 0)
strcpy(ttyn, ttyname(STDIN_FILENO));
else {
int i;
strcpy(ttyn, dev);
strncat(ttyn, argv[2], sizeof(ttyn)-sizeof(dev));
if (strcmp(argv[0], "+") != 0) {