]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
unzip: Remove dead code
authorDag-Erling Smørgrav <des@des.dev>
Fri, 17 Apr 2026 13:34:13 +0000 (15:34 +0200)
committerDag-Erling Smørgrav <des@des.dev>
Fri, 17 Apr 2026 16:45:55 +0000 (18:45 +0200)
Remove an #include controlled by a preprocessor symbol that nothing
defines.  I'm not sure if this has ever been needed, or what for, but
it serves no purpose today.

unzip/bsdunzip.c

index aa849568ba7e80ba71b5c0756b91ec1accfd0367..6a2e804a2e09328ae85179cd90913579b5830f66 100644 (file)
@@ -51,9 +51,6 @@
 #include <sys/time.h>
 #endif
 #endif
-#ifdef HAVE_GETOPT_OPTRESET
-#include <getopt.h>
-#endif
 
 #include "bsdunzip.h"
 #include "passphrase.h"