From c853aaab25885ec145e5e8a9500c269192baf6e4 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 14 Dec 2014 19:35:28 +0000 Subject: MSN: warning level 4 git-svn-id: http://svn.miranda-ng.org/main/trunk@11422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/MSN/src/msn_misc.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'protocols/MSN/src/msn_misc.cpp') diff --git a/protocols/MSN/src/msn_misc.cpp b/protocols/MSN/src/msn_misc.cpp index 2474046216..a34a909d06 100644 --- a/protocols/MSN/src/msn_misc.cpp +++ b/protocols/MSN/src/msn_misc.cpp @@ -541,7 +541,7 @@ static ThreadData* FindThreadTimer(UINT timerId) return res; } -static VOID CALLBACK TypingTimerProc(HWND hwnd, UINT uMsg, UINT_PTR idEvent, DWORD dwTime) +static VOID CALLBACK TypingTimerProc(HWND, UINT, UINT_PTR idEvent, DWORD) { ThreadData* T = FindThreadTimer(idEvent); if (T != NULL) @@ -775,7 +775,6 @@ static const char postdataS[] = "ct=%u&bver=7&id=73625&ru=%s&js=yes&pl=%%3Fid%%3 void CMsnProto::MsnInvokeMyURL(bool ismail, const char* url) { - char* hippy = NULL; if (!url) url = ismail ? "http://mail.live.com?rru=inbox" : "http://profile.live.com"; @@ -942,7 +941,7 @@ void CALLBACK sttMainThreadCallback(PVOID dwParam) CallService(MS_POPUP_ADDPOPUPCLASS, 0, (LPARAM)&ppd); } -void CMsnProto::MSN_ShowPopup(const TCHAR* nickname, const TCHAR* msg, int flags, const char* url, MCONTACT hContact) +void CMsnProto::MSN_ShowPopup(const TCHAR* nickname, const TCHAR* msg, int flags, const char* url) { if (Miranda_Terminated()) return; @@ -960,7 +959,7 @@ void CMsnProto::MSN_ShowPopup(const TCHAR* nickname, const TCHAR* msg, int flags void CMsnProto::MSN_ShowPopup(const MCONTACT hContact, const TCHAR* msg, int flags) { const TCHAR* nickname = hContact ? GetContactNameT(hContact) : _T("Me"); - MSN_ShowPopup(nickname, msg, flags, NULL, hContact); + MSN_ShowPopup(nickname, msg, flags, NULL); } -- cgit v1.2.3