vcpkg/ports/libzip/fix-attribute.patch

13 lines
343 B
Diff
Raw Normal View History

diff --git a/lib/zip_algorithm_bzip2.c b/lib/zip_algorithm_bzip2.c
index 1748fd4..fd74503 100644
--- a/lib/zip_algorithm_bzip2.c
+++ b/lib/zip_algorithm_bzip2.c
@@ -270,6 +270,6 @@ zip_compression_algorithm_t zip_algorithm_bzip2_decompress = {
#else
-static int dummy __attribute__((used));
+static int dummy;
#endif /* HAVE_LIBBZ2 */