[QGIS Commit] r15252 - in trunk/qgis: . src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Feb 23 16:20:03 EST 2011


Author: jef
Date: 2011-02-23 13:20:03 -0800 (Wed, 23 Feb 2011)
New Revision: 15252

Modified:
   trunk/qgis/CMakeLists.txt
   trunk/qgis/src/app/qgsoptions.cpp
Log:
fix warning and enable pedantic mode by default

Modified: trunk/qgis/CMakeLists.txt
===================================================================
--- trunk/qgis/CMakeLists.txt	2011-02-23 21:14:57 UTC (rev 15251)
+++ trunk/qgis/CMakeLists.txt	2011-02-23 21:20:03 UTC (rev 15252)
@@ -89,7 +89,7 @@
 ENDIF (WITH_BINDINGS)
 
 # Compile flag. Make it possible to turn it off.
-SET (PEDANTIC FALSE CACHE BOOL "Determines if we should compile in pedantic mode.")
+SET (PEDANTIC TRUE CACHE BOOL "Determines if we should compile in pedantic mode.")
 
 # whether unit tests should be build
 SET (ENABLE_TESTS FALSE CACHE BOOL "Build unit tests?")

Modified: trunk/qgis/src/app/qgsoptions.cpp
===================================================================
--- trunk/qgis/src/app/qgsoptions.cpp	2011-02-23 21:14:57 UTC (rev 15251)
+++ trunk/qgis/src/app/qgsoptions.cpp	2011-02-23 21:20:03 UTC (rev 15252)
@@ -506,7 +506,6 @@
   settings.setValue( "plugins/searchPathsForPlugins", myPaths );
 
   //search directories for svgs
-  myPaths;
   for ( int i = 0; i < mListSVGPaths->count(); ++i )
   {
     if ( i != 0 )



More information about the QGIS-commit mailing list