summaryrefslogtreecommitdiffstats
path: root/usr.sbin/quot
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
committerstefanf <stefanf@FreeBSD.org>2005-04-09 14:59:10 +0000
commitce3085bbfbefdc248456fec1c710f8d1baea0d8e (patch)
treefa6d3cbe8713f6b25b8d8c0082306ab11bdae241 /usr.sbin/quot
parent60b910d7c27c4544e9c4525d0092d04cfdaf384e (diff)
downloadFreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.zip
FreeBSD-src-ce3085bbfbefdc248456fec1c710f8d1baea0d8e.tar.gz
Remove unused variables.
Diffstat (limited to 'usr.sbin/quot')
-rw-r--r--usr.sbin/quot/quot.c4
1 files changed, 1 insertions, 3 deletions
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);
OpenPOWER on IntegriCloud