On Thu, 23 Jul 2026 15:55:13 GMT, Matthias Baesken <[email protected]> wrote:

> When building a product build with additionally enabled unused initialized 
> variables warnings (e.g. C4189 MSVC warning) we get some warnings/errors in 
> libj2pkcs11 because of variables only used in debug code.
> This can and should be avoided.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

Btw. should we better add a `free(iList)`  ?  We malloc the resource so this is 
missing  (it is only DEBUG coding so not that important but still should be 
fixed) .

-------------

PR Comment: https://git.openjdk.org/jdk/pull/32028#issuecomment-5101699875

Reply via email to