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).

This pull request has now been integrated.

Changeset: 84a66dba
Author:    Matthias Baesken <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/84a66dbac7a98c129cbcb433a1501db014eedc9d
Stats:     20 lines in 1 file changed: 5 ins; 4 del; 11 mod

8388872: Avoid unused variables warnings in libj2pkcs11

Reviewed-by: ayang, valeriep

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

PR: https://git.openjdk.org/jdk/pull/32028

Reply via email to