Integrated: 8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code
Kim Barrett
kbarrett at openjdk.org
Wed Dec 11 04:50:46 UTC 2024
On Sun, 1 Dec 2024 16:23:35 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this change to remove -Wzero-as-null-pointer-constant warnings
> in s390 code.
>
> Most places involve just changing literal 0 to nullptr.
>
> Removed a dead return after ShouldNotReachHere() that is no longer needed.
>
> Testing:
> GHA sanity test build, with and without -Wzero-as-null-pointer-constant enabled.
> I don't have the capability to run tests for this platform, so hoping someone
> from the aix-ppc maintainers can do more testing.
This pull request has now been integrated.
Changeset: 1e9204fa
Author: Kim Barrett <kbarrett at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/1e9204fa43e0c1e22c69dc140829ddf3af750a95
Stats: 13 lines in 6 files changed: 0 ins; 1 del; 12 mod
8345273: Fix -Wzero-as-null-pointer-constant warnings in s390 code
Reviewed-by: jwaters, aph, amitkumar
-------------
PR: https://git.openjdk.org/jdk/pull/22469
More information about the hotspot-dev
mailing list