From 0c8a93e6411035f6a1ca9e6537a6d569711cf4c3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 11 Dec 2014 13:42:27 +0000 Subject: garbage collection: dead params, unused variables etc git-svn-id: http://svn.miranda-ng.org/main/trunk@11328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/clistmod.cpp | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'plugins/Clist_nicer/src/clistmod.cpp') diff --git a/plugins/Clist_nicer/src/clistmod.cpp b/plugins/Clist_nicer/src/clistmod.cpp index 897f6cfc00..170a35c1b7 100644 --- a/plugins/Clist_nicer/src/clistmod.cpp +++ b/plugins/Clist_nicer/src/clistmod.cpp @@ -39,7 +39,7 @@ extern int g_maxStatus; extern HANDLE hSvc_GetContactStatusMsg; extern ImageItem *g_CLUIImageItem; -static INT_PTR GetStatusMode(WPARAM wParam, LPARAM lParam) +static INT_PTR GetStatusMode(WPARAM, LPARAM) { return(g_maxStatus == ID_STATUS_OFFLINE ? pcli->currentDesiredStatusMode : g_maxStatus); } @@ -74,12 +74,7 @@ int IconFromStatusMode(const char *szProto, int status, MCONTACT hContact, HICON return coreCli.pfnIconFromStatusMode(szFinalProto, finalStatus, hContact); } -static int MenuItem_LockAvatar(WPARAM wParam, LPARAM lParam) -{ - return 0; -} - -static int ContactListShutdownProc(WPARAM wParam, LPARAM lParam) +static int ContactListShutdownProc(WPARAM, LPARAM) { UninitCustomMenus(); return 0; @@ -124,7 +119,7 @@ Begin of Hrk's code for bug int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY) { - RECT rc = { 0 }, rcUpdate = { 0 }; + RECT rc = { 0 }; POINT pt = { 0 }; register int i = 0, j = 0, width = 0, height = 0, iCountedDots = 0, iNotCoveredDots = 0; BOOL bPartiallyCovered = FALSE; @@ -201,7 +196,7 @@ int GetWindowVisibleState(HWND hWnd, int iStepX, int iStepY) return GWVS_PARTIALLY_COVERED; } -int ShowHide(WPARAM wParam, LPARAM lParam) +int ShowHide(WPARAM, LPARAM) { BOOL bShow = FALSE; -- cgit v1.2.3