From 5c136245969d266cf843842e0e8bc2c92c2712f3 Mon Sep 17 00:00:00 2001 From: xiphon Date: Mon, 27 Apr 2020 12:48:01 +0000 Subject: [PATCH] DaemonManager: drop unused 'initialized', 'm_has_daemon' members --- src/daemon/DaemonManager.cpp | 2 -- src/daemon/DaemonManager.h | 2 -- 2 files changed, 4 deletions(-) diff --git a/src/daemon/DaemonManager.cpp b/src/daemon/DaemonManager.cpp index ad43eb48..bb72e66c 100644 --- a/src/daemon/DaemonManager.cpp +++ b/src/daemon/DaemonManager.cpp @@ -127,7 +127,6 @@ bool DaemonManager::start(const QString &flags, NetworkType::Type nettype, const QMutexLocker locker(&m_daemonMutex); m_daemon.reset(new QProcess()); - initialized = true; // Connect output slots connect(m_daemon.get(), SIGNAL(readyReadStandardOutput()), this, SLOT(printOutput())); @@ -360,7 +359,6 @@ DaemonManager::DaemonManager(QObject *parent) if (m_monerod.length() == 0) { qCritical() << "no daemon binary defined for current platform"; - m_has_daemon = false; } } diff --git a/src/daemon/DaemonManager.h b/src/daemon/DaemonManager.h index 83fb9cd1..812602cd 100644 --- a/src/daemon/DaemonManager.h +++ b/src/daemon/DaemonManager.h @@ -83,9 +83,7 @@ private: static QStringList m_clArgs; std::unique_ptr m_daemon; QMutex m_daemonMutex; - bool initialized = false; QString m_monerod; - bool m_has_daemon = true; bool m_app_exit = false; bool m_noSync = false;