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) {