Skip to content
Permalink
Browse files
Fix build warning when debug mode disabled
  • Loading branch information
nyalldawson committed Feb 8, 2017
1 parent 586631b commit 2f68d1a7c3f4c7e2137dc20458556facf199d79f
Showing 1 changed file with 4 additions and 0 deletions.
@@ -320,9 +320,13 @@ void QgsVectorFileWriter::init( QString vectorFileName,
}

if ( action == CreateOrOverwriteFile )
{
QgsDebugMsg( "Created data source" );
}
else
{
QgsDebugMsg( "Opened data source in update mode" );
}

// use appropriate codec
mCodec = QTextCodec::codecForName( fileEncoding.toLocal8Bit().constData() );

0 comments on commit 2f68d1a

Please sign in to comment.