Skip to content

Commit

Permalink
qgslabelfeature.h: explicitly default initialize member variable to m…
Browse files Browse the repository at this point in the history
…ake cppcheck happy
  • Loading branch information
rouault committed Jun 2, 2020
1 parent 81fe764 commit c286746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/labeling/qgslabelfeature.h
Expand Up @@ -540,7 +540,7 @@ class CORE_EXPORT QgsLabelFeature

bool mLabelAllParts = false;

QgsLabelObstacleSettings mObstacleSettings;
QgsLabelObstacleSettings mObstacleSettings{};

QgsPointXY mAnchorPosition;
};
Expand Down

0 comments on commit c286746

Please sign in to comment.