summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Loehning <robert.loehning@qt.io>2017-02-16 12:38:35 +0100
committerRobert Loehning <robert.loehning@qt.io>2017-02-16 14:59:46 +0000
commitcf091e5c3e033de7445647631fb73cffe86e935e (patch)
tree166771273d5f8dab00ce9c10ce5707d17f802ce1
parenta7ed20faaa927ecfa7493757756cef35a5c4c33c (diff)
downloadqt-creator-cf091e5c3e033de7445647631fb73cffe86e935e.tar.gz
Git: Initialize members of StashInfo
Change-Id: I20e644d61163bb91addcfe16a58692cfacb988d3 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
-rw-r--r--src/plugins/git/gitclient.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h
index 869ed36622..70439c862f 100644
--- a/src/plugins/git/gitclient.h
+++ b/src/plugins/git/gitclient.h
@@ -114,10 +114,10 @@ public:
void stashPrompt(const QString &command, const QString &statusOutput, QString *errorMessage);
void executeStash(const QString &command, QString *errorMessage);
- StashResult m_stashResult;
+ StashResult m_stashResult = NotStashed;
QString m_message;
QString m_workingDir;
- StashFlag m_flags;
+ StashFlag m_flags = Default;
PushAction m_pushAction = NoPush;
};