Skip to content

Commit afeba58

Browse files
author
jef
committedFeb 23, 2011
fix warning and enable pedantic mode by default
git-svn-id: http://svn.osgeo.org/qgis/trunk@15252 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent dbdd106 commit afeba58

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed
 

‎CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ IF (WITH_BINDINGS)
8989
ENDIF (WITH_BINDINGS)
9090

9191
# Compile flag. Make it possible to turn it off.
92-
SET (PEDANTIC FALSE CACHE BOOL "Determines if we should compile in pedantic mode.")
92+
SET (PEDANTIC TRUE CACHE BOOL "Determines if we should compile in pedantic mode.")
9393

9494
# whether unit tests should be build
9595
SET (ENABLE_TESTS FALSE CACHE BOOL "Build unit tests?")

‎src/app/qgsoptions.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,6 @@ void QgsOptions::saveOptions()
506506
settings.setValue( "plugins/searchPathsForPlugins", myPaths );
507507

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

0 commit comments

Comments
 (0)
Please sign in to comment.