Integrated: JDK-8298147: Clang warns about pointless comparisons

Thomas Stuefe stuefe at openjdk.org
Wed Dec 7 07:34:02 UTC 2022


On Tue, 6 Dec 2022 17:44:07 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> Trivial fix for clang warnings. GET_CONTAINER_INFO_CPTR creates local buffers of the given size; comparing them with NULL will always yield the same result.

This pull request has now been integrated.

Changeset: 1c2a0939
Author:    Thomas Stuefe <stuefe at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/1c2a093988c69ae0b2c0030835d11469fa9fb852
Stats:     27 lines in 2 files changed: 0 ins; 27 del; 0 mod

8298147: Clang warns about pointless comparisons

Reviewed-by: dholmes

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

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


More information about the hotspot-runtime-dev mailing list