Integrated: 8346059: [ASAN] awt_LoadLibrary.c reported compile warning ignoring return value of function by clang17
SendaoYan
syan at openjdk.org
Fri Dec 13 08:37:41 UTC 2024
On Thu, 12 Dec 2024 04:32:14 GMT, SendaoYan <syan at openjdk.org> wrote:
> Hi all,
> This PR fix file src/java.desktop/unix/native/libawt/awt/awt_LoadLibrary.c reported compile warning "ignoring return value of function" by clang17, which add check the return value of `realpath` function. Risk is low.
This pull request has now been integrated.
Changeset: 367c3041
Author: SendaoYan <syan at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/367c3041272d43b0474b433c555f22a3e15579f6
Stats: 3 lines in 1 file changed: 2 ins; 0 del; 1 mod
8346059: [ASAN] awt_LoadLibrary.c reported compile warning ignoring return value of function by clang17
Reviewed-by: ihse
-------------
PR: https://git.openjdk.org/jdk/pull/22701
More information about the client-libs-dev
mailing list