On Thu, 8 Oct 2026 14:26:05 GMT, Matthias Baesken <[email protected]> wrote:

>> We currently disable the unused-variable warning in BUILD_LIBAWT for 
>> gcc/clang, this should be avoided.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Matthias Baesken has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   remove dummy variable

src/java.desktop/unix/native/libawt/awt/awt_Mlib.c line 100:

> 98:     static int s_verbose = 1;
> 99:     mlib_status ret = MLIB_SUCCESS;
> 100:     struct utsname name;

Same as in awt_LoadLibrary.c? Last usage of utsname -> "#include 
<sys/utsname.h" no longer needed?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/33200#discussion_r4258898897

Reply via email to