You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sh...@apache.org on 2012/03/18 17:44:12 UTC
svn commit: r1302160 -
/xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp
Author: shathaway
Date: Sun Mar 18 16:44:12 2012
New Revision: 1302160
URL: http://svn.apache.org/viewvc?rev=1302160&view=rev
Log:
Fix logic warnings
Modified:
xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp
Modified: xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp
URL: http://svn.apache.org/viewvc/xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp?rev=1302160&r1=1302159&r2=1302160&view=diff
==============================================================================
--- xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp (original)
+++ xalan/c/trunk/src/xalanc/XalanSourceTree/XalanSourceTreeDocument.cpp Sun Mar 18 16:44:12 2012
@@ -1012,8 +1012,8 @@ XalanSourceTreeDocument::createAttribute
m_stringBuffer,
false);
- assert(theNamespace == 0 && m_stringBuffer.empty() == true ||
- theNamespace != 0 && m_stringBuffer.empty() == false);
+ assert((theNamespace == 0 && m_stringBuffer.empty() == true) ||
+ (theNamespace != 0 && m_stringBuffer.empty() == false));
if (theNamespace == 0 || theNamespace->empty() == true)
{
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org