summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 07:14:59 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-09-15 07:14:59 +0000
commitced95e1c1f1b1df5e2140aafdbf4d5a42c765a82 (patch)
tree4b207f2b49b9fc5aa004fe24884a8091886023ac /sbin/fsck_ffs
parentfc9df56613b97739c442fc3f34e9b014b6c4085f (diff)
remove unused variables
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/pass1.c3
-rw-r--r--sbin/fsck_ffs/pass5.c4
2 files changed, 3 insertions, 4 deletions
diff --git a/sbin/fsck_ffs/pass1.c b/sbin/fsck_ffs/pass1.c
index 05e0afe7542..d099a3a6da7 100644
--- a/sbin/fsck_ffs/pass1.c
+++ b/sbin/fsck_ffs/pass1.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass1.c,v 1.49 2024/02/03 18:51:57 beck Exp $ */
+/* $OpenBSD: pass1.c,v 1.50 2024/09/15 07:14:58 jsg Exp $ */
/* $NetBSD: pass1.c,v 1.16 1996/09/27 22:45:15 christos Exp $ */
/*
@@ -71,7 +71,6 @@ pass1(void)
u_int c;
struct inodesc idesc;
daddr_t i, cgd;
- u_int8_t *cp;
/*
* Set file system reserved blocks in used block map.
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c
index 81bdd9b7f27..92258d8c599 100644
--- a/sbin/fsck_ffs/pass5.c
+++ b/sbin/fsck_ffs/pass5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass5.c,v 1.51 2024/02/03 18:51:57 beck Exp $ */
+/* $OpenBSD: pass5.c,v 1.52 2024/09/15 07:14:58 jsg Exp $ */
/* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */
/*
@@ -67,7 +67,7 @@ pass5(void)
struct fs *fs = &sblock;
daddr_t dbase, dmax;
daddr_t d;
- long i, k, rewritecg = 0;
+ long i, rewritecg = 0;
ino_t j;
struct csum *cs;
struct csum_total cstotal;