diff --git a/src/lib/arch/unix/ArchNetworkBSD.cpp b/src/lib/arch/unix/ArchNetworkBSD.cpp index 5ab65c7db..992cbcf70 100644 --- a/src/lib/arch/unix/ArchNetworkBSD.cpp +++ b/src/lib/arch/unix/ArchNetworkBSD.cpp @@ -65,7 +65,6 @@ static in_addr_t inet_aton(const char *cp, struct in_addr *inp) void ArchNetworkBSD::Deps::sleep(double seconds) { - // ARCH->sleep(seconds); } diff --git a/src/lib/arch/unix/ArchNetworkBSD.h b/src/lib/arch/unix/ArchNetworkBSD.h index 530a96ddc..8ffde0923 100644 --- a/src/lib/arch/unix/ArchNetworkBSD.h +++ b/src/lib/arch/unix/ArchNetworkBSD.h @@ -55,6 +55,7 @@ class ArchNetAddressImpl public: ArchNetAddressImpl() : m_len(sizeof(m_addr)) { + // do nothing } public: diff --git a/src/lib/arch/unix/XArchUnix.h b/src/lib/arch/unix/XArchUnix.h index dfa5d29d1..23d99d515 100644 --- a/src/lib/arch/unix/XArchUnix.h +++ b/src/lib/arch/unix/XArchUnix.h @@ -15,6 +15,7 @@ class XArchEvalUnix : public XArchEval public: explicit XArchEvalUnix(int error) : m_error(error) { + // do nothing } ~XArchEvalUnix() noexcept override = default; diff --git a/src/lib/base/Event.cpp b/src/lib/base/Event.cpp index 567afd931..c1698991b 100644 --- a/src/lib/base/Event.cpp +++ b/src/lib/base/Event.cpp @@ -33,6 +33,7 @@ Event::Event(EventTypes type, void *target, EventData *dataObject) m_flags(kNone), m_dataObject(dataObject) { + // do nothing } EventTypes Event::getType() const diff --git a/src/lib/base/FinalAction.h b/src/lib/base/FinalAction.h index 0fd82d9f9..e4083157d 100644 --- a/src/lib/base/FinalAction.h +++ b/src/lib/base/FinalAction.h @@ -19,6 +19,7 @@ public: explicit FinalAction(Callable callable) noexcept : m_callable{callable} { + // do nothing } ~FinalAction() noexcept diff --git a/src/lib/client/Client.h b/src/lib/client/Client.h index 1f921c9d9..220c9334a 100644 --- a/src/lib/client/Client.h +++ b/src/lib/client/Client.h @@ -45,6 +45,7 @@ public: public: FailInfo(const char *what) : m_retry(false), m_what(what) { + // do nothing } bool m_retry; std::string m_what; diff --git a/src/lib/client/HelloBack.h b/src/lib/client/HelloBack.h index b2043cc1a..dcf3b9b28 100644 --- a/src/lib/client/HelloBack.h +++ b/src/lib/client/HelloBack.h @@ -25,6 +25,7 @@ public: : m_invalidHello(std::move(invalidHello)), m_incompatible(std::move(incompatible)) { + // do nothing } virtual ~Deps() = default; @@ -51,6 +52,7 @@ public: m_majorVersion(majorVersion), m_minorVersion(minorVersion) { + // do nothing } /** diff --git a/src/lib/deskflow/App.h b/src/lib/deskflow/App.h index dbf88be0c..b711cf38f 100644 --- a/src/lib/deskflow/App.h +++ b/src/lib/deskflow/App.h @@ -37,6 +37,7 @@ public: public: XNoEiSupport() : std::runtime_error("libei is not supported") { + // do nothing } }; diff --git a/src/lib/deskflow/ClientApp.cpp b/src/lib/deskflow/ClientApp.cpp index 9da13fcdf..afc7a8d55 100644 --- a/src/lib/deskflow/ClientApp.cpp +++ b/src/lib/deskflow/ClientApp.cpp @@ -66,6 +66,7 @@ ClientApp::ClientApp(IEventQueue *events) m_clientScreen(nullptr), m_serverAddress(nullptr) { + // do nothing } void ClientApp::parseArgs(int argc, const char *const *argv) diff --git a/src/lib/deskflow/ClientApp.h b/src/lib/deskflow/ClientApp.h index 4b61286b4..2f9cce773 100644 --- a/src/lib/deskflow/ClientApp.h +++ b/src/lib/deskflow/ClientApp.h @@ -36,6 +36,7 @@ public: const char *daemonInfo() const override; void loadConfig() override { + // do nothing } bool loadConfig(const std::string &pathname) override { diff --git a/src/lib/deskflow/Config.cpp b/src/lib/deskflow/Config.cpp index bc4ed2932..6579a87ab 100644 --- a/src/lib/deskflow/Config.cpp +++ b/src/lib/deskflow/Config.cpp @@ -20,6 +20,7 @@ namespace deskflow { Config::Config(const std::string &filename, const std::string §ion) : m_filename(filename), m_section(section) { + // do nothing } const char *const *Config::argv() const diff --git a/src/lib/deskflow/Config.h b/src/lib/deskflow/Config.h index 52c02e292..e0f6133bf 100644 --- a/src/lib/deskflow/Config.h +++ b/src/lib/deskflow/Config.h @@ -28,6 +28,7 @@ public: public: explicit ParseError() : std::runtime_error("failed to parse config file") { + // do nothing } }; @@ -36,6 +37,7 @@ public: public: explicit NoConfigFilenameError() : std::runtime_error("no config file specified") { + // do nothing } }; diff --git a/src/lib/deskflow/DaemonApp.cpp b/src/lib/deskflow/DaemonApp.cpp index 20429367e..70d1ee56d 100644 --- a/src/lib/deskflow/DaemonApp.cpp +++ b/src/lib/deskflow/DaemonApp.cpp @@ -41,6 +41,7 @@ void showHelp(int argc, char **argv) // NOSONAR - CLI args DaemonApp::DaemonApp(IEventQueue &events) : m_events(events) { + // do nothing } DaemonApp::~DaemonApp() = default; diff --git a/src/lib/deskflow/DisplayInvalidException.h b/src/lib/deskflow/DisplayInvalidException.h index 735338a7b..f6f6f04d5 100644 --- a/src/lib/deskflow/DisplayInvalidException.h +++ b/src/lib/deskflow/DisplayInvalidException.h @@ -14,9 +14,11 @@ class DisplayInvalidException : public std::runtime_error public: DisplayInvalidException(const char *msg) : std::runtime_error(msg) { + // do nothing } DisplayInvalidException(std::string msg) : std::runtime_error(msg) { + // do nothing } }; diff --git a/src/lib/deskflow/IKeyState.cpp b/src/lib/deskflow/IKeyState.cpp index c7f6be2e8..02b428d85 100644 --- a/src/lib/deskflow/IKeyState.cpp +++ b/src/lib/deskflow/IKeyState.cpp @@ -17,6 +17,7 @@ IKeyState::IKeyState(IEventQueue *events) { + // do nothing } // diff --git a/src/lib/deskflow/IPlatformScreen.h b/src/lib/deskflow/IPlatformScreen.h index e1991b5bd..7ee577cb2 100644 --- a/src/lib/deskflow/IPlatformScreen.h +++ b/src/lib/deskflow/IPlatformScreen.h @@ -30,6 +30,7 @@ public: IPlatformScreen(IEventQueue *events) : IKeyState(events) { + // do nothing } //! Enable screen diff --git a/src/lib/deskflow/PlatformScreen.cpp b/src/lib/deskflow/PlatformScreen.cpp index a9b548162..b349563ac 100644 --- a/src/lib/deskflow/PlatformScreen.cpp +++ b/src/lib/deskflow/PlatformScreen.cpp @@ -13,6 +13,7 @@ PlatformScreen::PlatformScreen(IEventQueue *events, deskflow::ClientScrollDirect : IPlatformScreen(events), m_clientScrollDirection(scrollDirection) { + // do nothing } void PlatformScreen::updateKeyMap() diff --git a/src/lib/deskflow/ipc/DaemonIpcServer.cpp b/src/lib/deskflow/ipc/DaemonIpcServer.cpp index 51e811114..baf8206df 100644 --- a/src/lib/deskflow/ipc/DaemonIpcServer.cpp +++ b/src/lib/deskflow/ipc/DaemonIpcServer.cpp @@ -22,6 +22,7 @@ DaemonIpcServer::DaemonIpcServer(QObject *parent, const QString &logFilename) m_logFilename(logFilename), m_server{new QLocalServer(this)} // NOSONAR - Qt memory { + // do nothing } DaemonIpcServer::~DaemonIpcServer() diff --git a/src/lib/deskflow/unix/AppUtilUnix.cpp b/src/lib/deskflow/unix/AppUtilUnix.cpp index d7fceae02..c4e3adb41 100644 --- a/src/lib/deskflow/unix/AppUtilUnix.cpp +++ b/src/lib/deskflow/unix/AppUtilUnix.cpp @@ -25,6 +25,7 @@ AppUtilUnix::AppUtilUnix(IEventQueue *events) { + // do nothing } int standardStartupStatic(int argc, char **argv) diff --git a/src/lib/gui/Hotkey.cpp b/src/lib/gui/Hotkey.cpp index dd0f6637f..a7e5980b3 100644 --- a/src/lib/gui/Hotkey.cpp +++ b/src/lib/gui/Hotkey.cpp @@ -12,6 +12,7 @@ Hotkey::Hotkey() : m_keySequence{}, m_actions{} { + // do nothing } QString Hotkey::text() const diff --git a/src/lib/gui/core/ClientConnection.h b/src/lib/gui/core/ClientConnection.h index 42b049788..96a1a5dc4 100644 --- a/src/lib/gui/core/ClientConnection.h +++ b/src/lib/gui/core/ClientConnection.h @@ -32,6 +32,7 @@ public: : m_pParent(parent), m_deps(deps) { + // do nothing } void handleLogLine(const QString &line); diff --git a/src/lib/gui/core/CommandProcess.cpp b/src/lib/gui/core/CommandProcess.cpp index d5e91f5f9..23f369c49 100644 --- a/src/lib/gui/core/CommandProcess.cpp +++ b/src/lib/gui/core/CommandProcess.cpp @@ -13,6 +13,7 @@ CommandProcess::CommandProcess(QString command, QStringList arguments, QString i m_Arguments(arguments), m_Input(input) { + // do nothing } QString CommandProcess::run() diff --git a/src/lib/gui/core/ServerMessage.cpp b/src/lib/gui/core/ServerMessage.cpp index 250a2f4aa..f29308f88 100644 --- a/src/lib/gui/core/ServerMessage.cpp +++ b/src/lib/gui/core/ServerMessage.cpp @@ -10,6 +10,7 @@ namespace deskflow::gui { ServerMessage::ServerMessage(const QString &message) : m_message(message), m_clientName(parseClientName(message)) { + // do nothing } bool ServerMessage::isNewClientMessage() const diff --git a/src/lib/gui/tls/TlsCertificate.cpp b/src/lib/gui/tls/TlsCertificate.cpp index 68ad8fbe1..fa0f1b8f9 100644 --- a/src/lib/gui/tls/TlsCertificate.cpp +++ b/src/lib/gui/tls/TlsCertificate.cpp @@ -25,6 +25,7 @@ TlsCertificate::TlsCertificate(QObject *parent) : QObject(parent) { + // do nothing } bool TlsCertificate::generateCertificate(const QString &path, int keyLength) diff --git a/src/lib/gui/tls/TlsUtility.cpp b/src/lib/gui/tls/TlsUtility.cpp index afc82c7ed..57f8cf0a5 100644 --- a/src/lib/gui/tls/TlsUtility.cpp +++ b/src/lib/gui/tls/TlsUtility.cpp @@ -15,6 +15,7 @@ namespace deskflow::gui { TlsUtility::TlsUtility(QObject *parent) : QObject(parent) { + // do nothing } bool TlsUtility::isEnabled() const diff --git a/src/lib/gui/validators/ComputerNameValidator.cpp b/src/lib/gui/validators/ComputerNameValidator.cpp index 4b36c7af2..194b45d11 100644 --- a/src/lib/gui/validators/ComputerNameValidator.cpp +++ b/src/lib/gui/validators/ComputerNameValidator.cpp @@ -12,6 +12,7 @@ namespace validators { ComputerNameValidator::ComputerNameValidator(const QString &message) : IStringValidator(message) { + // do nothing } bool ComputerNameValidator::validate(const QString &input) const diff --git a/src/lib/gui/validators/EmptyStringValidator.cpp b/src/lib/gui/validators/EmptyStringValidator.cpp index 313fc493b..cbc9378fe 100644 --- a/src/lib/gui/validators/EmptyStringValidator.cpp +++ b/src/lib/gui/validators/EmptyStringValidator.cpp @@ -10,6 +10,7 @@ namespace validators { EmptyStringValidator::EmptyStringValidator(const QString &message) : IStringValidator(message) { + // do nothing } bool EmptyStringValidator::validate(const QString &input) const diff --git a/src/lib/gui/validators/IStringValidator.cpp b/src/lib/gui/validators/IStringValidator.cpp index 9b9e03a8e..fa387d160 100644 --- a/src/lib/gui/validators/IStringValidator.cpp +++ b/src/lib/gui/validators/IStringValidator.cpp @@ -10,6 +10,7 @@ namespace validators { IStringValidator::IStringValidator(const QString &message) : m_Message(message) { + // do nothing } const QString &IStringValidator::getMessage() const diff --git a/src/lib/gui/validators/ScreenDuplicationsValidator.cpp b/src/lib/gui/validators/ScreenDuplicationsValidator.cpp index 056869128..c3a71cbad 100644 --- a/src/lib/gui/validators/ScreenDuplicationsValidator.cpp +++ b/src/lib/gui/validators/ScreenDuplicationsValidator.cpp @@ -15,6 +15,7 @@ ScreenDuplicationsValidator::ScreenDuplicationsValidator( m_defaultName(defaultName), m_pScreenList(pScreens) { + // do nothing } bool ScreenDuplicationsValidator::validate(const QString &input) const diff --git a/src/lib/gui/validators/SpacesValidator.cpp b/src/lib/gui/validators/SpacesValidator.cpp index d82e19529..4830279bc 100644 --- a/src/lib/gui/validators/SpacesValidator.cpp +++ b/src/lib/gui/validators/SpacesValidator.cpp @@ -10,6 +10,7 @@ namespace validators { SpacesValidator::SpacesValidator(const QString &message) : IStringValidator(message) { + // do nothing } bool SpacesValidator::validate(const QString &input) const diff --git a/src/lib/gui/widgets/NewScreenWidget.cpp b/src/lib/gui/widgets/NewScreenWidget.cpp index b427693fd..1daa009b9 100644 --- a/src/lib/gui/widgets/NewScreenWidget.cpp +++ b/src/lib/gui/widgets/NewScreenWidget.cpp @@ -16,6 +16,7 @@ NewScreenWidget::NewScreenWidget(QWidget *parent) : QLabel(parent) { + // do nothing } void NewScreenWidget::mousePressEvent(QMouseEvent *event) diff --git a/src/lib/gui/widgets/TrashScreenWidget.h b/src/lib/gui/widgets/TrashScreenWidget.h index b8e5b3165..4e96fd2e3 100644 --- a/src/lib/gui/widgets/TrashScreenWidget.h +++ b/src/lib/gui/widgets/TrashScreenWidget.h @@ -20,6 +20,7 @@ class TrashScreenWidget : public QLabel public: TrashScreenWidget(QWidget *parent) : QLabel(parent) { + // do nothing } public: diff --git a/src/lib/mt/XThread.h b/src/lib/mt/XThread.h index cbf0bc361..9b99188ca 100644 --- a/src/lib/mt/XThread.h +++ b/src/lib/mt/XThread.h @@ -21,6 +21,7 @@ public: //! \c result is the result of the thread XThreadExit(void *result) : m_result(result) { + // do nothing } ~XThreadExit() = default; diff --git a/src/lib/net/IDataSocket.h b/src/lib/net/IDataSocket.h index 63a57dba6..2ae8c5cea 100644 --- a/src/lib/net/IDataSocket.h +++ b/src/lib/net/IDataSocket.h @@ -24,6 +24,7 @@ public: public: ConnectionFailedInfo(const char *what) : m_what(what) { + // do nothing } std::string m_what; }; diff --git a/src/lib/net/SecureListenSocket.cpp b/src/lib/net/SecureListenSocket.cpp index d25954823..bf00ab1d2 100644 --- a/src/lib/net/SecureListenSocket.cpp +++ b/src/lib/net/SecureListenSocket.cpp @@ -29,6 +29,7 @@ SecureListenSocket::SecureListenSocket( m_securityLevel{securityLevel} { + // do nothing } IDataSocket *SecureListenSocket::accept() diff --git a/src/lib/net/SecureSocket.cpp b/src/lib/net/SecureSocket.cpp index 14cf63b47..a284f7edf 100644 --- a/src/lib/net/SecureSocket.cpp +++ b/src/lib/net/SecureSocket.cpp @@ -65,6 +65,7 @@ SecureSocket::SecureSocket( m_fatal(false), m_securityLevel{securityLevel} { + // do nothing } SecureSocket::SecureSocket( @@ -76,6 +77,7 @@ SecureSocket::SecureSocket( m_fatal(false), m_securityLevel{securityLevel} { + // do nothing } SecureSocket::~SecureSocket() diff --git a/src/lib/platform/EiEventQueueBuffer.h b/src/lib/platform/EiEventQueueBuffer.h index 88af0e509..554587151 100644 --- a/src/lib/platform/EiEventQueueBuffer.h +++ b/src/lib/platform/EiEventQueueBuffer.h @@ -29,6 +29,7 @@ public: // IEventQueueBuffer overrides void init() override { + // do nothing } void waitForEvent(double timeout_in_ms) override; Type getEvent(Event &event, uint32_t &dataID) override; diff --git a/src/lib/platform/EiScreen.cpp b/src/lib/platform/EiScreen.cpp index 3359391c0..399d585ee 100644 --- a/src/lib/platform/EiScreen.cpp +++ b/src/lib/platform/EiScreen.cpp @@ -855,10 +855,12 @@ std::string EiScreen::getSecureInputApp() const EiScreen::HotKeyItem::HotKeyItem(std::uint32_t mask, std::uint32_t id) : mask_(mask), id_(id) { + // Todo: Implement } EiScreen::HotKeySet::HotKeySet(KeyID key) : id_(key) { + // Todo: Implement } bool EiScreen::HotKeySet::remove_by_id(std::uint32_t id) diff --git a/src/lib/server/ClientProxy.cpp b/src/lib/server/ClientProxy.cpp index 95abf236e..f4c616c78 100644 --- a/src/lib/server/ClientProxy.cpp +++ b/src/lib/server/ClientProxy.cpp @@ -18,6 +18,7 @@ ClientProxy::ClientProxy(const std::string &name, deskflow::IStream *stream) : BaseClientProxy(name), m_stream(stream) { + // do nothing } ClientProxy::~ClientProxy() diff --git a/src/lib/server/ClientProxy1_7.cpp b/src/lib/server/ClientProxy1_7.cpp index 244f3ef30..5d990489c 100644 --- a/src/lib/server/ClientProxy1_7.cpp +++ b/src/lib/server/ClientProxy1_7.cpp @@ -19,6 +19,7 @@ ClientProxy1_7::ClientProxy1_7(const std::string &name, deskflow::IStream *strea : ClientProxy1_6(name, stream, server, events), m_events(events) { + // do nothing } void ClientProxy1_7::secureInputNotification(const std::string &app) const diff --git a/src/lib/server/Config.h b/src/lib/server/Config.h index e17e2fc09..3c7a6dd3d 100644 --- a/src/lib/server/Config.h +++ b/src/lib/server/Config.h @@ -148,9 +148,11 @@ public: public: explicit const_iterator() : m_i() { + // do nothing } explicit const_iterator(const internal_const_iterator &i) : m_i(i) { + // do nothing } const_iterator(const const_iterator &src) = default; ~const_iterator() = default;