amassari 2003/11/01 12:24:23
Modified: c/src/xercesc/internal DGXMLScanner.cpp IGXMLScanner.cpp
IGXMLScanner2.cpp SGXMLScanner.cpp WFXMLScanner.cpp
c/src/xercesc/util/Platforms/Win32 Win32PlatformUtils.cpp
c/src/xercesc/util XML256TableTranscoder.cpp XMLString.cpp
Log:
Removed declarations for unused variables
Revision Changes Path
1.27 +1 -9 xml-xerces/c/src/xercesc/internal/DGXMLScanner.cpp
Index: DGXMLScanner.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/DGXMLScanner.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- DGXMLScanner.cpp 30 Oct 2003 21:37:31 -0000 1.26
+++ DGXMLScanner.cpp 1 Nov 2003 20:24:22 -0000 1.27
@@ -2649,14 +2649,6 @@
// this call.
void DGXMLScanner::scanCDSection()
{
- // This is the CDATA section opening sequence, minus the '<' character.
- // We use this to watch for nested CDATA sections, which are illegal.
- static const XMLCh CDataPrefix[] =
- {
- chBang, chOpenSquare, chLatin_C, chLatin_D, chLatin_A
- , chLatin_T, chLatin_A, chOpenSquare, chNull
- };
-
static const XMLCh CDataClose[] =
{
chCloseSquare, chCloseAngle, chNull
1.27 +1 -2 xml-xerces/c/src/xercesc/internal/IGXMLScanner.cpp
Index: IGXMLScanner.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/IGXMLScanner.cpp,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- IGXMLScanner.cpp 22 Oct 2003 20:22:30 -0000 1.26
+++ IGXMLScanner.cpp 1 Nov 2003 20:24:22 -0000 1.27
@@ -2061,7 +2061,6 @@
, *fRawAttrList
, isEmpty
);
- const bool gotAttrs = (attCount != 0);
// save the contentleafname and currentscope before addlevel, for later use
ContentLeafNameTypeVector* cv = 0;
1.37 +1 -9 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.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- IGXMLScanner2.cpp 30 Oct 2003 21:37:31 -0000 1.36
+++ IGXMLScanner2.cpp 1 Nov 2003 20:24:22 -0000 1.37
@@ -2074,14 +2074,6 @@
// this call.
void IGXMLScanner::scanCDSection()
{
- // This is the CDATA section opening sequence, minus the '<' character.
- // We use this to watch for nested CDATA sections, which are illegal.
- static const XMLCh CDataPrefix[] =
- {
- chBang, chOpenSquare, chLatin_C, chLatin_D, chLatin_A
- , chLatin_T, chLatin_A, chOpenSquare, chNull
- };
-
static const XMLCh CDataClose[] =
{
chCloseSquare, chCloseAngle, chNull
1.44 +1 -9 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.43
retrieving revision 1.44
diff -u -r1.43 -r1.44
--- SGXMLScanner.cpp 30 Oct 2003 21:37:31 -0000 1.43
+++ SGXMLScanner.cpp 1 Nov 2003 20:24:22 -0000 1.44
@@ -3627,14 +3627,6 @@
// this call.
void SGXMLScanner::scanCDSection()
{
- // This is the CDATA section opening sequence, minus the '<' character.
- // We use this to watch for nested CDATA sections, which are illegal.
- static const XMLCh CDataPrefix[] =
- {
- chBang, chOpenSquare, chLatin_C, chLatin_D, chLatin_A
- , chLatin_T, chLatin_A, chOpenSquare, chNull
- };
-
static const XMLCh CDataClose[] =
{
chCloseSquare, chCloseAngle, chNull
1.17 +1 -10 xml-xerces/c/src/xercesc/internal/WFXMLScanner.cpp
Index: WFXMLScanner.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/internal/WFXMLScanner.cpp,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- WFXMLScanner.cpp 22 Oct 2003 20:22:30 -0000 1.16
+++ WFXMLScanner.cpp 1 Nov 2003 20:24:22 -0000 1.17
@@ -1645,7 +1645,6 @@
// handler on every round.
XMLCh nextCh;
XMLCh secondCh = 0;
- bool firstNonWS = false;
bool gotLeadingSurrogate = false;
bool escaped;
while (true)
@@ -1766,14 +1765,6 @@
// this call.
void WFXMLScanner::scanCDSection()
{
- // This is the CDATA section opening sequence, minus the '<' character.
- // We use this to watch for nested CDATA sections, which are illegal.
- static const XMLCh CDataPrefix[] =
- {
- chBang, chOpenSquare, chLatin_C, chLatin_D, chLatin_A
- , chLatin_T, chLatin_A, chOpenSquare, chNull
- };
-
static const XMLCh CDataClose[] =
{
chCloseSquare, chCloseAngle, chNull
1.21 +1 -2
xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp
Index: Win32PlatformUtils.cpp
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/Platforms/Win32/Win32PlatformUtils.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- Win32PlatformUtils.cpp 15 May 2003 18:37:49 -0000 1.20
+++ Win32PlatformUtils.cpp 1 Nov 2003 20:24:22 -0000 1.21
@@ -651,7 +651,6 @@
const unsigned int bufSize = 511;
char tmpPath[511 + 1];
- char* namePart = 0;
if (!::GetCurrentDirectoryA(bufSize, tmpPath))
return 0;
1.3 +0 -1 xml-xerces/c/src/xercesc/util/XML256TableTranscoder.cpp
Index: XML256TableTranscoder.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XML256TableTranscoder.cpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XML256TableTranscoder.cpp 4 Nov 2002 15:22:05 -0000 1.2
+++ XML256TableTranscoder.cpp 1 Nov 2003 20:24:23 -0000 1.3
@@ -228,7 +228,6 @@
{
unsigned int lowOfs = 0;
unsigned int hiOfs = fToSize - 1;
- XMLByte curByte = 0;
do
{
// Calc the mid point of the low and high offset.
1.26 +1 -2 xml-xerces/c/src/xercesc/util/XMLString.cpp
Index: XMLString.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/XMLString.cpp,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- XMLString.cpp 2 Oct 2003 11:07:26 -0000 1.25
+++ XMLString.cpp 1 Nov 2003 20:24:23 -0000 1.26
@@ -1752,7 +1752,6 @@
return;
int colonIdx = XMLString::indexOf(str, chColon);
- int slashIdx = XMLString::indexOf(str, chForwardSlash);
// If starts with a '/' we assume
// this is an absolute (UNIX) file path and prefix it with file://
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]