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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to