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:06:14 -0600
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On 1/30/26 19:26, Rudi Heitbaum via Gnupg-devel wrote:
> Address compiler warning when variable is unused because it’s used only in assert.

Does this mean that the assertions are not actually being checked?  If 
so, that could be a bit of a problem, given that these are in testsuite 
code.

In other words, does this patch "paper over" actual bugs that GCC has 
uncovered?


-- Jacob



_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel