Skip to content

Commit

Permalink
QgsRasterLayer: make sure mRasterType member is initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
rouault authored and nyalldawson committed Jul 22, 2021
1 parent 7568477 commit e7a7bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/raster/qgsrasterlayer.h
Expand Up @@ -556,7 +556,7 @@ class CORE_EXPORT QgsRasterLayer : public QgsMapLayer

QgsRasterViewPort mLastViewPort;

LayerType mRasterType;
LayerType mRasterType = GrayOrUndefined;

std::unique_ptr< QgsRasterPipe > mPipe;

Expand Down

0 comments on commit e7a7bf3

Please sign in to comment.