Skip to content

Commit 7bc8f9c

Browse files
author
Kim Barrett
committed
8335589: Fix -Wzero-as-null-pointer-constant warnings in IdealLoopTree ctor
Reviewed-by: thartmann
1 parent 0db9bc5 commit 7bc8f9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hotspot/share/opto/loopnode.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class IdealLoopTree : public ResourceObj {
607607
bool _allow_optimizations; // Allow loop optimizations
608608

609609
IdealLoopTree( PhaseIdealLoop* phase, Node *head, Node *tail )
610-
: _parent(0), _next(0), _child(0),
610+
: _parent(nullptr), _next(nullptr), _child(nullptr),
611611
_head(head), _tail(tail),
612612
_phase(phase),
613613
_local_loop_unroll_limit(0), _local_loop_unroll_factor(0),

0 commit comments

Comments
 (0)