[geos-commits] [SCM] GEOS branch master updated. 002bfbeedfb21ad217e90f237f3149dcfd9b7786

git at osgeo.org git at osgeo.org
Mon Dec 17 13:59:57 PST 2018


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GEOS".

The branch, master has been updated
       via  002bfbeedfb21ad217e90f237f3149dcfd9b7786 (commit)
      from  6848dcc371536fd47519781d8e5e454ce9d40652 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 002bfbeedfb21ad217e90f237f3149dcfd9b7786
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Dec 17 13:59:43 2018 -0800

    Quiet compiler warnings in xmltester

diff --git a/tests/xmltester/XMLTester.cpp b/tests/xmltester/XMLTester.cpp
index d2a8c9e..a9e4ce4 100644
--- a/tests/xmltester/XMLTester.cpp
+++ b/tests/xmltester/XMLTester.cpp
@@ -138,15 +138,15 @@ const char * getIndent( unsigned int numIndents )
 
 
 
-void dump_to_stdout( const tinyxml2::XMLNode * pParent, unsigned int indent = 0 )
-{
-    if ( !pParent ) return;
+// void dump_to_stdout( const tinyxml2::XMLNode * pParent, unsigned int indent = 0 )
+// {
+//     if ( !pParent ) return;
 
-    printf( "%s", getIndent( indent));
+//     printf( "%s", getIndent( indent));
 
-    tinyxml2::XMLPrinter printer;
-    pParent->Accept(&printer);
-}
+//     tinyxml2::XMLPrinter printer;
+//     pParent->Accept(&printer);
+// }
 
 
 }
diff --git a/tests/xmltester/tinyxml2/tinyxml2.cpp b/tests/xmltester/tinyxml2/tinyxml2.cpp
index ea0b125..6fa8596 100755
--- a/tests/xmltester/tinyxml2/tinyxml2.cpp
+++ b/tests/xmltester/tinyxml2/tinyxml2.cpp
@@ -572,7 +572,7 @@ void XMLUtil::ToStr( bool v, char* buffer, int bufferSize )
 */
 void XMLUtil::ToStr( float v, char* buffer, int bufferSize )
 {
-    TIXML_SNPRINTF( buffer, bufferSize, "%.8g", v );
+    TIXML_SNPRINTF( buffer, bufferSize, "%.8f", v );
 }
 
 

-----------------------------------------------------------------------

Summary of changes:
 tests/xmltester/XMLTester.cpp         | 14 +++++++-------
 tests/xmltester/tinyxml2/tinyxml2.cpp |  2 +-
 2 files changed, 8 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
GEOS


More information about the geos-commits mailing list