OSDN Git Service

Fixed some more level #4 warnings in Debug build.
authorLoRd_MuldeR <mulder2@gmx.de>
Thu, 23 Dec 2021 15:57:26 +0000 (16:57 +0100)
committerLoRd_MuldeR <mulder2@gmx.de>
Thu, 23 Dec 2021 15:57:26 +0000 (16:57 +0100)
include/MUtils/IPCChannel.h
src/DLLMain.cpp

index 580ee75..20a7855 100644 (file)
@@ -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;
index 87e369b..5f8550a 100644 (file)
@@ -26,7 +26,7 @@
 #define WIN32_LEAN_AND_MEAN 1
 #include <Windows.h>
 
-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)
        {