[xerces-c] branch xerces-3.2 updated: Replace nullptr reference for consistency/compatibility.
[email protected] Wed, 19 Oct 2022 02:39:41 +0000
| Newsgroups | gmane.text.xml.xerces-c.devel |
|---|---|
| Message-ID | <166614718137.2990517.15522683615610988884@gitbox2-he-fi.apache.org> |
This is an automated email from the ASF dual-hosted git repository.
scantor pushed a commit to branch xerces-3.2
in repository https://gitbox.apache.org/repos/asf/xerces-c.git
The following commit(s) were added to refs/heads/xerces-3.2 by this push:
new 279dae8f4 Replace nullptr reference for consistency/compatibility.
279dae8f4 is described below
commit 279dae8f412c43d65fc464abb6e6938823dbdacc
Author: Scott Cantor <[email protected]>
AuthorDate: Tue Oct 18 22:39:35 2022 -0400
Replace nullptr reference for consistency/compatibility.
---
src/xercesc/validators/common/DFAContentModel.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xercesc/validators/common/DFAContentModel.cpp b/src/xercesc/validators/common/DFAContentModel.cpp
index 49efa7aed..4f17a459a 100644
--- a/src/xercesc/validators/common/DFAContentModel.cpp
+++ b/src/xercesc/validators/common/DFAContentModel.cpp
@@ -1519,7 +1519,7 @@ CMNode* DFAContentModel::buildSyntaxTree(ContentSpecNode* const curNode
retNode = buildSyntaxTree(cursor, curIndex);
for(unsigned int i=0;i<nLoopCount;i++)
{
- CMNode* newRight = nullptr;
+ CMNode* newRight = NULL;
try
{
newRight = buildSyntaxTree(rightNode, curIndex);