Skip to content

Commit

Permalink
Fix Coverity uninitialized member warning
Browse files Browse the repository at this point in the history
(cherry-picked from 25a9929)
  • Loading branch information
nyalldawson committed Apr 6, 2018
1 parent d0b4678 commit f1249ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsaction.h
Expand Up @@ -251,7 +251,7 @@ class CORE_EXPORT QgsAction
mutable std::shared_ptr<QAction> mAction;
QUuid mId;
QgsExpressionContextScope mExpressionContextScope;
bool mIsEnabledOnlyWhenEditable;
bool mIsEnabledOnlyWhenEditable = false;
};

Q_DECLARE_METATYPE( QgsAction )
Expand Down

0 comments on commit f1249ce

Please sign in to comment.