summaryrefslogtreecommitdiffstats
path: root/sbin/badsect
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2003-02-22 21:33:42 +0000
committerjohan <johan@FreeBSD.org>2003-02-22 21:33:42 +0000
commitf1348f023381662b1304bb9fa1a9e3b671284d4d (patch)
treee437a07b66b151c7f086654e4a1896f4b355aea8 /sbin/badsect
parent291636d3d4d3382548cd33074a85f7c87bb7174b (diff)
downloadFreeBSD-src-f1348f023381662b1304bb9fa1a9e3b671284d4d.zip
FreeBSD-src-f1348f023381662b1304bb9fa1a9e3b671284d4d.tar.gz
Remove unused variable to make badsect WARNS=2 clean.
Diffstat (limited to 'sbin/badsect')
-rw-r--r--sbin/badsect/Makefile1
-rw-r--r--sbin/badsect/badsect.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sbin/badsect/Makefile b/sbin/badsect/Makefile
index 712bc05..a392277 100644
--- a/sbin/badsect/Makefile
+++ b/sbin/badsect/Makefile
@@ -4,7 +4,6 @@
PROG= badsect
DPADD= ${LIBUFS}
LDADD= -lufs
-WARNS= 0
MAN= badsect.8
.include <bsd.prog.mk>
diff --git a/sbin/badsect/badsect.c b/sbin/badsect/badsect.c
index c196be6..bce66c9 100644
--- a/sbin/badsect/badsect.c
+++ b/sbin/badsect/badsect.c
@@ -97,7 +97,6 @@ main(int argc, char *argv[])
DIR *dirp;
char name[2 * MAXPATHLEN];
char *name_dir_end;
- int i;
if (argc < 3)
usage();
OpenPOWER on IntegriCloud