<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Werner, Very well know what an assert is if you are intending this comment to me.</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
In production we would not be using tests. </div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
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? </div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Rudi</div>
<div dir="ltr" style="font-family: Aptos, Aptos_MSFontService, -apple-system, Roboto, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="mail-editor-reference-message-container" class="ms-outlook-mobile-reference-message">
<div id="mail-editor-reference-message-container">
<hr style="display: inline-block; width: 98%;">
<div id="divRplyFwdMsg" dir="ltr"><span style="font-family: Calibri, sans-serif;"><b>From:</b> Werner Koch <wk@gnupg.org><br>
<b>Sent:</b> Sunday, February 1, 2026 00:35<br>
<b>To:</b> Rudi Heitbaum via Gnupg-devel <gnupg-devel@gnupg.org><br>
<b>Cc:</b> Rudi Heitbaum <rudi@heitbaum.com><br>
<b>Subject:</b> Re: [PATCH 1/3] tests: Cast to void to suppress warnings about unused variables</span>
<div style="font-family: Calibri, sans-serif;"> </div>
</div>
On Sat, 31 Jan 2026 01:26, Rudi Heitbaum said: <br>
> Address compiler warning when variable is unused because it’s used <br>
> only in assert. <br>
<br>
Anyone who defines NDEBUG does not known what s/he does. An assert is <br>
there for a reason. It is plain stupid to use an assert but disable it <br>
for production. <br>
<br>
<br>
Salam-Shalom, <br>
<br>
Werner <br>
<br>
-- <br>
The pioneers of a warless world are the youth that <br>
refuse military service. - A. Einstein <br>
</div>
</div>
</body>
</html>