From 81eded29954d4492befff3e8eb6662a62e4fd758 Mon Sep 17 00:00:00 2001 From: Laan Tungir Date: Sat, 27 Dec 2025 11:51:10 -0500 Subject: [PATCH] Version v0.3.42 - -m Suppress miniz warnings in archive.c header include --- README.md | 6 +++--- src/archive.c | 5 +++++ src/main.h | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3e3f8cb..8859058 100644 --- a/README.md +++ b/README.md @@ -58,14 +58,14 @@ One-time pads can be trivially encrypted and decrypted using pencil and paper, m ### Download Pre-Built Binaries -**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.40/otp-v0.3.40-linux-x86_64)** +**[Download Current Linux x86](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.41/otp-v0.3.41-linux-x86_64)** -**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.40/otp-v0.3.40-linux-arm64)** +**[Download Current Raspberry Pi 64](https://git.laantungir.net/laantungir/otp/releases/download/v0.3.41/otp-v0.3.41-linux-arm64)** After downloading: ```bash # Rename for convenience, then make executable -mv otp-v0.3.40-linux-x86_64 otp +mv otp-v0.3.41-linux-x86_64 otp chmod +x otp # Run it diff --git a/src/archive.c b/src/archive.c index fdbb382..c447db6 100644 --- a/src/archive.c +++ b/src/archive.c @@ -11,7 +11,12 @@ #include #include "main.h" #include "microtar/microtar.h" + +// Suppress warnings from miniz header +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wunused-function" #include "miniz/miniz.h" +#pragma GCC diagnostic pop //////////////////////////////////////////////////////////////////////////////// // DIRECTORY ARCHIVING FUNCTIONS diff --git a/src/main.h b/src/main.h index 1fa3586..731580c 100644 --- a/src/main.h +++ b/src/main.h @@ -23,7 +23,7 @@ #include // Version - Updated automatically by build.sh -#define OTP_VERSION "v0.3.40" +#define OTP_VERSION "v0.3.41" // Constants #define MAX_INPUT_SIZE 4096