From cb5f0f61e74cdc4ee64530cd73af0d080538bc1e Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Thu, 13 Dec 2018 10:17:02 +0900 Subject: Connection: initialize lazyLoading member variable --- lib/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection.cpp b/lib/connection.cpp index 76e61ed1..a16bc753 100644 --- a/lib/connection.cpp +++ b/lib/connection.cpp @@ -94,7 +94,7 @@ class Connection::Private bool cacheState = true; bool cacheToBinary = SettingsGroup("libqmatrixclient") .value("cache_type").toString() != "json"; - bool lazyLoading; + bool lazyLoading = false; void connectWithToken(const QString& user, const QString& accessToken, const QString& deviceId); -- cgit v1.2.3