RFR: 8335593: Fix -Wzero-as-null-pointer-constant warning in Type_Array ctor
Tobias Hartmann
thartmann at openjdk.org
Wed Jul 3 05:36:18 UTC 2024
On Wed, 3 Jul 2024 05:24:36 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:
> Please review this trivial change to the Type_Array constructor. The initial
> value for the _types member is changed from 0 to nullptr. This removes some
> -Wzero-as-null-pointer-constant warnings when building with that enabled.
>
> Testing: mach5 tier1
Looks good and trivial.
-------------
Marked as reviewed by thartmann (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/19998#pullrequestreview-2155491391
More information about the hotspot-compiler-dev
mailing list