From b84136c8f6e7de29abe88e24587a314077640b93 Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Fri, 27 Jun 1997 21:51:59 +0000 Subject: [PATCH] Removed unused variables. --- libexec/getty/main.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libexec/getty/main.c b/libexec/getty/main.c index 0dfdc8183e07..cead48175fe4 100644 --- a/libexec/getty/main.c +++ b/libexec/getty/main.c @@ -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 @@ -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) {