From ce3085bbfbefdc248456fec1c710f8d1baea0d8e Mon Sep 17 00:00:00 2001 From: stefanf Date: Sat, 9 Apr 2005 14:59:10 +0000 Subject: Remove unused variables. --- usr.sbin/quot/quot.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'usr.sbin/quot') diff --git a/usr.sbin/quot/quot.c b/usr.sbin/quot/quot.c index 75e758b..42e8f48 100644 --- a/usr.sbin/quot/quot.c +++ b/usr.sbin/quot/quot.c @@ -477,7 +477,7 @@ donames(fd, super, name) char *name; { int c; - ino_t inode, inode1; + ino_t inode; ino_t maxino; union dinode *dp; @@ -486,7 +486,6 @@ donames(fd, super, name) while ((c = getchar()) != EOF && (c < '0' || c > '9')) while ((c = getchar()) != EOF && c != '\n'); ungetc(c,stdin); - inode1 = -1; while (scanf("%u",&inode) == 1) { if (inode > maxino) { warnx("illegal inode %d",inode); @@ -504,7 +503,6 @@ donames(fd, super, name) c = getchar(); } putchar('\n'); - inode1 = inode; } else { if (errno) { err(1, "%s", name); -- cgit v1.1