]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Drop unused variable. 2749/head
authorDag-Erling Smørgrav <des@des.no>
Mon, 13 Oct 2025 12:58:16 +0000 (14:58 +0200)
committerDag-Erling Smørgrav <des@des.no>
Mon, 13 Oct 2025 14:58:44 +0000 (16:58 +0200)
Fixes: a335429c5e71 ("Drop support for readdir_r()")

libarchive/archive_read_disk_posix.c

index ba0046d75454755899b55c9bc37ba6ae94a3290a..54a8e66188f875e914ed33df8503bd0819489329 100644 (file)
@@ -1571,9 +1571,6 @@ setup_current_filesystem(struct archive_read_disk *a)
 #  endif
 #endif
        int r, xr = 0;
-#if !defined(HAVE_STRUCT_STATFS_F_NAMEMAX)
-       long nm;
-#endif
 
        t->current_filesystem->synthetic = -1;
        t->current_filesystem->remote = -1;