Skip to content
Permalink
Browse files

fix warning and enable pedantic mode by default

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@15252 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Feb 23, 2011
1 parent ef76a92 commit 665ab31eb66767ae920fb1b32c5414c43518a068
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 665ab31

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