mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Removed unused variables.
This commit is contained in:
parent
d144ffea1f
commit
b84136c8f6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=26999
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user