summaryrefslogtreecommitdiff
path: root/usr.bin/file
diff options
context:
space:
mode:
authorPedro Martelletto <pedro@cvs.openbsd.org>2006-04-04 14:17:02 +0000
committerPedro Martelletto <pedro@cvs.openbsd.org>2006-04-04 14:17:02 +0000
commit96da2a5ed6f79b5a260b1b8c846f39e8c1da6848 (patch)
tree8f9dade50f5cffbc9df35199028be1f8c3d56568 /usr.bin/file
parent1df01b2047d8c836f1ad07909c15a8a250840062 (diff)
Remove unused variable, spotted by otto@
Diffstat (limited to 'usr.bin/file')
-rw-r--r--usr.bin/file/apprentice.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/file/apprentice.c b/usr.bin/file/apprentice.c
index 4214aec2cb0..c88fb7ccdcb 100644
--- a/usr.bin/file/apprentice.c
+++ b/usr.bin/file/apprentice.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apprentice.c,v 1.21 2006/04/04 10:53:40 pedro Exp $ */
+/* $OpenBSD: apprentice.c,v 1.22 2006/04/04 14:17:01 pedro Exp $ */
/*
* Copyright (c) Ian F. Darwin 1986-1995.
* Software written by Ian F. Darwin and others;
@@ -46,7 +46,7 @@
#endif
#ifndef lint
-FILE_RCSID("@(#)$Id: apprentice.c,v 1.21 2006/04/04 10:53:40 pedro Exp $")
+FILE_RCSID("@(#)$Id: apprentice.c,v 1.22 2006/04/04 14:17:01 pedro Exp $")
#endif /* lint */
#define EATAB {while (isascii((unsigned char) *l) && \
@@ -382,7 +382,6 @@ private int
parse(struct magic_set *ms, struct magic **magicp, uint32_t *nmagicp, char *l,
int action)
{
- int i = 0;
struct magic *m;
char *t;
private const char *fops = FILE_OPS;