Skip to content

Commit b219283

Browse files
committed
Silence warning
1 parent 86f951c commit b219283

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/core/qgsthreadingutils.h

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ class CORE_EXPORT QgsThreadingUtils
118118
return true;
119119
}
120120
#else
121+
Q_UNUSED( feedback )
121122
func();
122123
return true;
123124
#endif

src/core/qgsvectorlayerutils.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -518,6 +518,8 @@ std::unique_ptr<QgsVectorLayerFeatureSource> QgsVectorLayerUtils::getFeatureSour
518518
{
519519
#if QT_VERSION >= QT_VERSION_CHECK( 5, 10, 0 )
520520
Q_ASSERT( QThread::currentThread() == qApp->thread() || feedback );
521+
#else
522+
Q_UNUSED( feedback )
521523
#endif
522524
QgsVectorLayer *lyr = layer.data();
523525

0 commit comments

Comments
 (0)