8335592: Fix -Wzero-as-null-pointer-constant warnings in RootNode ctor
Reviewed-by: thartmann
This commit is contained in:
parent
7bc8f9c150
commit
f3f90dc11a
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1997, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1997, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -34,7 +34,7 @@
|
||||
// procedure start.
|
||||
class RootNode : public LoopNode {
|
||||
public:
|
||||
RootNode( ) : LoopNode(0,0) {
|
||||
RootNode( ) : LoopNode(nullptr, nullptr) {
|
||||
init_class_id(Class_Root);
|
||||
del_req(2);
|
||||
del_req(1);
|
||||
|
Loading…
Reference in New Issue
Block a user