RFR: JDK-8354316 : clang/linux build fails with -Wunused-result warning at XToolkit.c:695:9 [v2]
Alexey Ivanov
aivanov at openjdk.org
Thu May 22 10:55:02 UTC 2025
On Thu, 22 May 2025 06:28:07 GMT, SendaoYan <syan at openjdk.org> wrote:
> Duplicated to https://bugs.openjdk.org/browse/JDK-8346103
So, [JDK-8346103](https://bugs.openjdk.org/browse/JDK-8346103) is closed as duplicate of [JDK-8346436](https://bugs.openjdk.org/browse/JDK-8346436). The latter has a closed code review #22794.
I like this approach better because it doesn't simply ignore the return value but prints a trace if `write` returns the unexpected value.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25217#issuecomment-2900778127
More information about the client-libs-dev
mailing list