From e5e3b1b1a19b86fdb3e12a4084ccfb9e1b488481 Mon Sep 17 00:00:00 2001 From: LoRd_MuldeR Date: Thu, 23 Dec 2021 16:57:26 +0100 Subject: [PATCH] Fixed some more level #4 warnings in Debug build. --- include/MUtils/IPCChannel.h | 2 +- src/DLLMain.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/MUtils/IPCChannel.h b/include/MUtils/IPCChannel.h index 580ee75..20a7855 100644 --- a/include/MUtils/IPCChannel.h +++ b/include/MUtils/IPCChannel.h @@ -57,7 +57,7 @@ namespace MUtils private: IPCChannel(const IPCChannel&) : p(NULL), m_appVersionNo((unsigned int)(-1)) { throw "Constructor is disabled!"; } - IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; return *this; } + IPCChannel &operator=(const IPCChannel&) { throw "Assignment operator is disabled!"; } const QString m_applicationId; const QString m_channelId; diff --git a/src/DLLMain.cpp b/src/DLLMain.cpp index 87e369b..5f8550a 100644 --- a/src/DLLMain.cpp +++ b/src/DLLMain.cpp @@ -26,7 +26,7 @@ #define WIN32_LEAN_AND_MEAN 1 #include -BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) +BOOL APIENTRY DllMain(HMODULE /*hModule*/, DWORD ul_reason_for_call, LPVOID /*lpReserved*/) { switch (ul_reason_for_call) {