aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2023-06-20 16:28:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2023-06-20 16:28:59 +0000
commit1291d48f061ef2e955da0f4806ee1ac527908c8c (patch)
tree3b4b083baaf36ace18a670a0d61a61c5b0c62d39
parent035dd78d30ba28a3dc15c05ec85ad10127165677 (diff)
downloadsrc-1291d48f061ef2e955da0f4806ee1ac527908c8c.tar.gz
src-1291d48f061ef2e955da0f4806ee1ac527908c8c.zip
mkuzip: Remove set but unused variable.
Reported by: GCC
-rw-r--r--usr.bin/mkuzip/mkuzip.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mkuzip/mkuzip.c b/usr.bin/mkuzip/mkuzip.c
index cfc5d54f53a4..7150a86f52b9 100644
--- a/usr.bin/mkuzip/mkuzip.c
+++ b/usr.bin/mkuzip/mkuzip.c
@@ -128,7 +128,6 @@ int main(int argc, char **argv)
uint64_t offset, last_offset;
struct cloop_header hdr;
struct mkuz_conveyor *cvp;
- void *c_ctx;
struct mkuz_blk_info *chit;
size_t ncpusz, ncpu, magiclen;
double st, et;
@@ -255,7 +254,7 @@ int main(int argc, char **argv)
errx(1, "maximal compressed cluster size %zu greater than MAXPHYS %zu",
cfs.cbound_blksz, (size_t)MAXPHYS);
- c_ctx = cfs.handler->f_init(&comp_level);
+ cfs.handler->f_init(&comp_level);
cfs.comp_level = comp_level;
cfs.iname = argv[0];