Re: [PATCH 1/3] tests: Cast to void to suppress warnings about unused variables
Jacob Bachmeyer via Gnupg-devel <[email protected]> Fri, 30 Jan 2026 22:34:28 -0600
| Newsgroups | gmane.comp.encryption.gpg.devel |
|---|---|
| Message-ID | <[email protected]> |
On 1/30/26 22:19, Rudi Heitbaum wrote: > When compiling a Release build (without assert) these come up as unused. > > Alternative approach would be to Error the compile when test is part > of the build but assert is not part of the build due to the build > being Release. Another option would be to override that and enforce that assertions are always checked in the test suite, even in release builds. -- Jacob _______________________________________________ Gnupg-devel mailing list [email protected] https://lists.gnupg.org/mailman/listinfo/gnupg-devel