mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Fix valgrind jump on uninitialised values warnings
This commit is contained in:
parent
34e6a6126c
commit
425aa30fe9
@ -22,7 +22,6 @@
|
||||
QgsVectorLayerCache::QgsVectorLayerCache( QgsVectorLayer *layer, int cacheSize, QObject *parent )
|
||||
: QObject( parent )
|
||||
, mLayer( layer )
|
||||
, mFullCache( false )
|
||||
{
|
||||
mCache.setMaxCost( cacheSize );
|
||||
|
||||
|
@ -383,8 +383,8 @@ class CORE_EXPORT QgsVectorLayerCache : public QObject
|
||||
QgsVectorLayer *mLayer = nullptr;
|
||||
QCache< QgsFeatureId, QgsCachedFeature > mCache;
|
||||
|
||||
bool mCacheGeometry;
|
||||
bool mFullCache;
|
||||
bool mCacheGeometry = true;
|
||||
bool mFullCache = false;
|
||||
QList<QgsAbstractCacheIndex *> mCacheIndices;
|
||||
|
||||
QgsAttributeList mCachedAttributes;
|
||||
|
Loading…
x
Reference in New Issue
Block a user