Skip to content

Commit

Permalink
Initialize some vars to make Valgrind happy
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso committed Nov 21, 2017
1 parent cbf4a89 commit bb3b689
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/editorwidgets/core/qgseditorwidgetwrapper.h
Expand Up @@ -346,10 +346,10 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
QString mConstraintFailureReason;

//! The current constraint result
ConstraintResult mConstraintResult;
ConstraintResult mConstraintResult = ConstraintResultPass;

//! The current constraint result
bool mConstraintResultVisible;
bool mConstraintResultVisible = false;

int mFieldIdx;
QgsFeature mFeature;
Expand Down

0 comments on commit bb3b689

Please sign in to comment.