xml-xalan-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dbert...@apache.org
Subject cvs commit: xml-xalan/c/src/xalanc/DOMSupport TreeWalker.cpp
Date Thu, 23 Oct 2003 23:26:35 GMT
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


Mime
View raw message