Skip to content
Permalink
Browse files

fix warning and enable pedantic mode by default

git-svn-id: http://svn.osgeo.org/qgis/trunk@15252 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 23, 2011
1 parent dbdd106 commit afeba58d0a834bb5093ce82ce2a373d3d301f9dc
Showing with 1 addition and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +0 −1 src/app/qgsoptions.cpp
@@ -89,7 +89,7 @@ IF (WITH_BINDINGS)
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?")
@@ -506,7 +506,6 @@ void QgsOptions::saveOptions()
settings.setValue( "plugins/searchPathsForPlugins", myPaths );

//search directories for svgs
myPaths;
for ( int i = 0; i < mListSVGPaths->count(); ++i )
{
if ( i != 0 )

0 comments on commit afeba58

Please sign in to comment.
You can’t perform that action at this time.