[prev in list] [next in list] [prev in thread] [next in thread]
List: xalan-cvs
Subject: cvs commit: xml-xalan/c/src/xalanc/DOMSupport TreeWalker.cpp
From: dbertoni () apache ! org
Date: 2003-10-23 23:26:35
[Download RAW message or body]
dbertoni 2003/10/23 16:26:35
Modified: c/src/xalanc/DOMSupport TreeWalker.cpp
Log:
Added a couple of asserts, for safety.
Revision Changes Path
1.2 +2 -0 xml-xalan/c/src/xalanc/DOMSupport/TreeWalker.cpp
Index: TreeWalker.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/xalanc/DOMSupport/TreeWalker.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- TreeWalker.cpp 29 Jun 2003 03:57:53 -0000 1.1
+++ TreeWalker.cpp 23 Oct 2003 23:26:35 -0000 1.2
@@ -215,6 +215,7 @@
if(0 == nextNode)
{
thePos = thePos->getParentNode();
+ assert(thePos != 0);
if(parent == thePos)
{
@@ -267,6 +268,7 @@
if(0 == nextNode)
{
thePos = thePos->getParentNode();
+ assert(thePos != 0);
if(parent == thePos)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic