Werner, Very well know what an assert is if you are intending this comment to me.
In production we would not be using tests. So perhaps as option could be added to disable-test builds to configure? Would this be acceptable? It would allow for clean, warning free compiles, which would have to be a good thing for security software? Regards Rudi ________________________________ From: Werner Koch <[email protected]> Sent: Sunday, February 1, 2026 00:35 To: Rudi Heitbaum via Gnupg-devel <[email protected]> Cc: Rudi Heitbaum <[email protected]> Subject: Re: [PATCH 1/3] tests: Cast to void to suppress warnings about unused variables On Sat, 31 Jan 2026 01:26, Rudi Heitbaum said: > Address compiler warning when variable is unused because it’s used > only in assert. Anyone who defines NDEBUG does not known what s/he does. An assert is there for a reason. It is plain stupid to use an assert but disable it for production. Salam-Shalom, Werner -- The pioneers of a warless world are the youth that refuse military service. - A. Einstein
_______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel
