You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by db...@locus.apache.org on 2000/07/17 16:52:40 UTC

cvs commit: xml-xalan/c/src/XPath XObjectFactoryDefault.cpp

dbertoni    00/07/17 07:52:34

  Modified:    c/src/XPath XObjectFactoryDefault.cpp
  Log:
  Assert parameter is not 0.
  
  Revision  Changes    Path
  1.10      +2 -0      xml-xalan/c/src/XPath/XObjectFactoryDefault.cpp
  
  Index: XObjectFactoryDefault.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xalan/c/src/XPath/XObjectFactoryDefault.cpp,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- XObjectFactoryDefault.cpp	2000/07/12 21:46:51	1.9
  +++ XObjectFactoryDefault.cpp	2000/07/17 14:52:33	1.10
  @@ -118,6 +118,8 @@
   			const XObject*	theXObject,
   			bool			fInReset)
   {
  +	assert(theXObject != 0);
  +
   	if (theXObject == &theTrueBoolean ||
   		theXObject == &theFalseBoolean ||
   		theXObject == m_XNull.get())