Skip to content

Commit

Permalink
Fix Coverity uninitialized member warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 29, 2017
1 parent 3c5f30b commit 4b4606f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/nodetool/qgsnodetool.h
Expand Up @@ -206,7 +206,7 @@ class APP_EXPORT QgsNodeTool : public QgsMapToolAdvancedDigitizing
//! source layer for mFeatureBand (null if mFeatureBand is null)
const QgsVectorLayer *mFeatureBandLayer = nullptr;
//! source feature id for mFeatureBand (zero if mFeatureBand is null)
QgsFeatureId mFeatureBandFid;
QgsFeatureId mFeatureBandFid = 0;
//! highlight of a vertex while mouse pointer is close to a vertex and not dragging anything
QgsRubberBand *mVertexBand = nullptr;
//! highlight of an edge while mouse pointer is close to an edge and not dragging anything
Expand Down

0 comments on commit 4b4606f

Please sign in to comment.