diff options
author | johan <johan@FreeBSD.org> | 2003-02-22 21:33:42 +0000 |
---|---|---|
committer | johan <johan@FreeBSD.org> | 2003-02-22 21:33:42 +0000 |
commit | f1348f023381662b1304bb9fa1a9e3b671284d4d (patch) | |
tree | e437a07b66b151c7f086654e4a1896f4b355aea8 /sbin/badsect | |
parent | 291636d3d4d3382548cd33074a85f7c87bb7174b (diff) | |
download | FreeBSD-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/Makefile | 1 | ||||
-rw-r--r-- | sbin/badsect/badsect.c | 1 |
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(); |