The branch main has been updated by jhb:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=1291d48f061ef2e955da0f4806ee1ac527908c8c

commit 1291d48f061ef2e955da0f4806ee1ac527908c8c
Author:     John Baldwin <[email protected]>
AuthorDate: 2023-06-20 16:28:59 +0000
Commit:     John Baldwin <[email protected]>
CommitDate: 2023-06-20 16:28:59 +0000

    mkuzip: Remove set but unused variable.
    
    Reported by:    GCC
---
 usr.bin/mkuzip/mkuzip.c | 3 +--
 1 file changed, 1 insertion(+), 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];

Reply via email to