File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -299,6 +299,7 @@ IF (PEDANTIC)
299
299
# disable warnings
300
300
ADD_DEFINITIONS ( /wd4100 ) # unused formal parameters
301
301
ADD_DEFINITIONS ( /wd4127 ) # constant conditional expressions (used in Qt template classes)
302
+ ADD_DEFINITIONS ( /wd4505 ) # unreferenced local function has been removed (QgsRasterDataProvider::extent)
302
303
ADD_DEFINITIONS ( /wd4510 ) # default constructor could not be generated (sqlite3_index_info, QMap)
303
304
ADD_DEFINITIONS ( /wd4512 ) # assignment operator could not be generated (sqlite3_index_info)
304
305
ADD_DEFINITIONS ( /wd4610 ) # user defined constructor required (sqlite3_index_info)
Original file line number Diff line number Diff line change @@ -341,8 +341,7 @@ void QgsVectorLayerFeatureIterator::addJoinedAttributes( QgsFeature &f )
341
341
for ( ; joinIt != mFetchJoinInfo .constEnd (); ++joinIt )
342
342
{
343
343
const FetchJoinInfo& info = joinIt.value ();
344
- QgsVectorLayer* joinLayer = joinIt.key ();
345
- Q_ASSERT ( joinLayer );
344
+ Q_ASSERT ( joinIt.key () );
346
345
347
346
QVariant targetFieldValue = f.attribute ( info.targetField );
348
347
if ( !targetFieldValue.isValid () )
You can’t perform that action at this time.
0 commit comments