From 7c3775ae24f772f37ee69632f11292bd59ebccd2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Dec 2014 15:06:15 +0000 Subject: useless function removed git-svn-id: http://svn.miranda-ng.org/main/trunk@11252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Clist_nicer/src/clisttray.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Clist_nicer/src') diff --git a/plugins/Clist_nicer/src/clisttray.cpp b/plugins/Clist_nicer/src/clisttray.cpp index 00a3de8eaa..75fafbc18e 100644 --- a/plugins/Clist_nicer/src/clisttray.cpp +++ b/plugins/Clist_nicer/src/clisttray.cpp @@ -84,14 +84,14 @@ int TrayCalcChanged(const char *szChangedProto, int averageMode, int netProtoCou case SETTING_TRAYICON_SINGLE: ptrA szProto( db_get_sa(NULL, "CList", "PrimaryStatus")); - int iIcon = IconFromStatusMode(szProto, szProto ? CallProtoService(szProto, PS_GETSTATUS, 0, 0) : CallService(MS_CLIST_GETSTATUSMODE, 0, 0), 0, &hIcon); + iIcon = IconFromStatusMode(szProto, szProto ? CallProtoService(szProto, PS_GETSTATUS, 0, 0) : CallService(MS_CLIST_GETSTATUSMODE, 0, 0), 0, &hIcon); hIcon = (hIcon) ? CopyIcon(hIcon) : ImageList_GetIcon(hCListImages, iIcon, ILD_NORMAL); return pcli->pfnTrayIconSetBaseInfo(hIcon, NULL); } } } else { - int iIcon = IconFromStatusMode(NULL, averageMode, 0, &hIcon); + iIcon = IconFromStatusMode(NULL, averageMode, 0, &hIcon); hIcon = (hIcon) ? CopyIcon(hIcon) : ImageList_GetIcon(hCListImages, iIcon, ILD_NORMAL); return pcli->pfnTrayIconSetBaseInfo(hIcon, NULL); } @@ -106,7 +106,7 @@ INT_PTR TrayIconProcessMessage(WPARAM wParam, LPARAM lParam) MSG *msg = (MSG*)wParam; if (msg->message == TIM_CALLBACK && msg->lParam == WM_MOUSEMOVE ) { if (cfg::dat.bNoTrayTips) { - *((LRESULT *)lParam) = 0; + *((LRESULT*)lParam) = 0; return TRUE; } } -- cgit v1.2.3