dbertoni 00/04/18 08:27:19
Modified: c/src/XPath XPath.cpp
Log:
Fixed assert.
Revision Changes Path
1.10 +1 -2 xml-xalan/c/src/XPath/XPath.cpp
Index: XPath.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPath/XPath.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- XPath.cpp 2000/04/12 19:40:53 1.9
+++ XPath.cpp 2000/04/18 15:27:17 1.10
@@ -1476,8 +1476,7 @@
assert(m_expression.getToken(funcID) != 0);
const XalanDOMString
theFunctionName(m_expression.getToken(funcID)->str());
- assert(theFunctionName != 0);
- assert(!isEmpty(theFunctionName));
+ assert(isEmpty(theFunctionName) == false);
return s_functions[theFunctionName].execute(executionContext, context,
opPos, argVec);
}