knoaman 2004/09/29 12:23:32
Modified: c/src/xercesc/internal IGXMLScanner2.cpp SGXMLScanner.cpp
Log:
Initialize attWildCard to null.
Revision Changes Path
1.74 +2 -2 xml-xerces/c/src/xercesc/internal/IGXMLScanner2.cpp
Index: IGXMLScanner2.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/IGXMLScanner2.cpp,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- IGXMLScanner2.cpp 29 Sep 2004 00:07:40 -0000 1.73
+++ IGXMLScanner2.cpp 29 Sep 2004 19:23:32 -0000 1.74
@@ -201,7 +201,7 @@
if (fGrammarType == Grammar::SchemaGrammarType) {
//retrieve the att def
- SchemaAttDef* attWildCard;
+ SchemaAttDef* attWildCard = 0;
if (currType) {
attDef = currType->getAttDef(suffPtr, uriId);
attWildCard = currType->getAttWildCard();
1.98 +2 -2 xml-xerces/c/src/xercesc/internal/SGXMLScanner.cpp
Index: SGXMLScanner.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/SGXMLScanner.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -r1.97 -r1.98
--- SGXMLScanner.cpp 29 Sep 2004 00:07:40 -0000 1.97
+++ SGXMLScanner.cpp 29 Sep 2004 19:23:32 -0000 1.98
@@ -2194,7 +2194,7 @@
if (fGrammarType == Grammar::SchemaGrammarType) {
//retrieve the att def
- SchemaAttDef* attWildCard;
+ SchemaAttDef* attWildCard = 0;
if (currType) {
attDef = currType->getAttDef(suffPtr, uriId);
attWildCard = currType->getAttWildCard();
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]