You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2001/08/21 17:10:15 UTC
cvs commit: xml-xerces/c/src/util XMLDouble.cpp XMLFloat.cpp
peiyongz 01/08/21 08:10:15
Modified: c/src/util XMLDouble.cpp XMLFloat.cpp
Log:
Bugzilla# 3017: MSVC5.0: C2202: 'compareSpecial' : not all
control paths return a value
Revision Changes Path
1.9 +5 -1 xml-xerces/c/src/util/XMLDouble.cpp
Index: XMLDouble.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLDouble.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- XMLDouble.cpp 2001/08/14 22:10:20 1.8
+++ XMLDouble.cpp 2001/08/21 15:10:15 1.9
@@ -55,8 +55,12 @@
*/
/*
- * $Id: XMLDouble.cpp,v 1.8 2001/08/14 22:10:20 peiyongz Exp $
+ * $Id: XMLDouble.cpp,v 1.9 2001/08/21 15:10:15 peiyongz Exp $
* $Log: XMLDouble.cpp,v $
+ * Revision 1.9 2001/08/21 15:10:15 peiyongz
+ * Bugzilla# 3017: MSVC5.0: C2202: 'compareSpecial' : not all
+ * control paths return a value
+ *
* Revision 1.8 2001/08/14 22:10:20 peiyongz
* new exception message added
*
@@ -518,5 +522,6 @@
, XMLExcepts::XMLNUM_DBL_FLT_InvalidType
, value1);
//internal error
+ return 0;
}
}
1.6 +5 -1 xml-xerces/c/src/util/XMLFloat.cpp
Index: XMLFloat.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/util/XMLFloat.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- XMLFloat.cpp 2001/08/14 22:10:20 1.5
+++ XMLFloat.cpp 2001/08/21 15:10:15 1.6
@@ -55,8 +55,12 @@
*/
/*
- * $Id: XMLFloat.cpp,v 1.5 2001/08/14 22:10:20 peiyongz Exp $
+ * $Id: XMLFloat.cpp,v 1.6 2001/08/21 15:10:15 peiyongz Exp $
* $Log: XMLFloat.cpp,v $
+ * Revision 1.6 2001/08/21 15:10:15 peiyongz
+ * Bugzilla# 3017: MSVC5.0: C2202: 'compareSpecial' : not all
+ * control paths return a value
+ *
* Revision 1.5 2001/08/14 22:10:20 peiyongz
* new exception message added
*
@@ -505,6 +509,7 @@
ThrowXML1(NumberFormatException
, XMLExcepts::XMLNUM_DBL_FLT_InvalidType
, value1);
+ return 0;
//internal error
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org