Skip to content

Commit

Permalink
Fix build warning when debug mode disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Feb 8, 2017
1 parent 586631b commit 2f68d1a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/core/qgsvectorfilewriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down

0 comments on commit 2f68d1a

Please sign in to comment.