mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Fix build warning when debug mode disabled
This commit is contained in:
parent
586631b7b5
commit
2f68d1a7c3
@ -320,9 +320,13 @@ void QgsVectorFileWriter::init( QString vectorFileName,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( action == CreateOrOverwriteFile )
|
if ( action == CreateOrOverwriteFile )
|
||||||
|
{
|
||||||
QgsDebugMsg( "Created data source" );
|
QgsDebugMsg( "Created data source" );
|
||||||
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
QgsDebugMsg( "Opened data source in update mode" );
|
QgsDebugMsg( "Opened data source in update mode" );
|
||||||
|
}
|
||||||
|
|
||||||
// use appropriate codec
|
// use appropriate codec
|
||||||
mCodec = QTextCodec::codecForName( fileEncoding.toLocal8Bit().constData() );
|
mCodec = QTextCodec::codecForName( fileEncoding.toLocal8Bit().constData() );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user