Skip to content

Commit 2f68d1a

Browse files
committedFeb 8, 2017
Fix build warning when debug mode disabled
1 parent 586631b commit 2f68d1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎src/core/qgsvectorfilewriter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,9 +320,13 @@ void QgsVectorFileWriter::init( QString vectorFileName,
320320
}
321321

322322
if ( action == CreateOrOverwriteFile )
323+
{
323324
QgsDebugMsg( "Created data source" );
325+
}
324326
else
327+
{
325328
QgsDebugMsg( "Opened data source in update mode" );
329+
}
326330

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

0 commit comments

Comments
 (0)
Please sign in to comment.