Skip to content

Commit bb3b689

Browse files
committed
Initialize some vars to make Valgrind happy
1 parent cbf4a89 commit bb3b689

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/editorwidgets/core/qgseditorwidgetwrapper.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ class GUI_EXPORT QgsEditorWidgetWrapper : public QgsWidgetWrapper
346346
QString mConstraintFailureReason;
347347

348348
//! The current constraint result
349-
ConstraintResult mConstraintResult;
349+
ConstraintResult mConstraintResult = ConstraintResultPass;
350350

351351
//! The current constraint result
352-
bool mConstraintResultVisible;
352+
bool mConstraintResultVisible = false;
353353

354354
int mFieldIdx;
355355
QgsFeature mFeature;

0 commit comments

Comments
 (0)