From bdaa5cf8b48515af2ac39f3f3245dd1183cbad52 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 15 Mar 2018 20:59:36 +0300 Subject: unused parameter removed --- plugins/NewAwaySysMod/src/MsgEventAdded.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/NewAwaySysMod/src') diff --git a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp index 0fee8edf25..0f71f63661 100644 --- a/plugins/NewAwaySysMod/src/MsgEventAdded.cpp +++ b/plugins/NewAwaySysMod/src/MsgEventAdded.cpp @@ -82,7 +82,7 @@ void __cdecl AutoreplyDelayThread(void *_ad) } -int IsSRMsgWindowOpen(MCONTACT hContact, int DefaultRetVal) +int IsSRMsgWindowOpen(MCONTACT hContact) { MessageWindowData mwd; return !Srmm_GetWindowData(hContact, mwd) && mwd.hwndWindow; @@ -161,7 +161,7 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam) MetacontactEvents.RemoveElem(i); // add the new event and wait for a subcontact's event - MetacontactEvents.AddElem(CMetacontactEvent(hContact, dbei->timestamp, IsSRMsgWindowOpen(hContact, false))); + MetacontactEvents.AddElem(CMetacontactEvent(hContact, dbei->timestamp, IsSRMsgWindowOpen(hContact))); return 0; } @@ -199,7 +199,7 @@ int MsgEventAdded(WPARAM hContact, LPARAM lParam) return 0; // we never get here for a metacontact; we did check for metacontact's window earlier, and here we need to check only for subcontact's window - if (IsSRMsgWindowOpen(hContact, false)) + if (IsSRMsgWindowOpen(hContact)) return 0; } if (AutoreplyOptData.GetValue(IDC_REPLYDLG_ONLYIDLEREPLY) && !g_bIsIdle) -- cgit v1.2.3