Commit 6ed9f6d8 authored by Laurent Montel's avatar Laurent Montel 😁

Initialize variable

parent 154679b9
......@@ -63,17 +63,6 @@ AkonadiServer *AkonadiServer::s_instance = nullptr;
AkonadiServer::AkonadiServer(QObject *parent)
: QObject(parent)
, mCmdServer(nullptr)
, mNtfServer(nullptr)
, mNotificationManager(nullptr)
, mCacheCleaner(nullptr)
, mIntervalCheck(nullptr)
, mStorageJanitor(nullptr)
, mItemRetrieval(nullptr)
, mAgentSearchManager(nullptr)
, mDatabaseProcess(nullptr)
, mSearchManager(nullptr)
, mAlreadyShutdown(false)
{
// Register bunch of useful types
qRegisterMetaType<Protocol::CommandPtr>();
......
......@@ -102,7 +102,7 @@ protected:
QProcess *mDatabaseProcess = nullptr;
QVector<Connection *> mConnections;
SearchManager *mSearchManager = nullptr;
bool mAlreadyShutdown;
bool mAlreadyShutdown = false;
static AkonadiServer *s_instance;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment