summaryrefslogtreecommitdiff
path: root/plugins/Clist_nicer/src/config.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-12-11 13:42:27 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-12-11 13:42:27 +0000
commit0c8a93e6411035f6a1ca9e6537a6d569711cf4c3 (patch)
treea080ea2ffed0458c30e2395fb4442d4049b5dbcc /plugins/Clist_nicer/src/config.cpp
parent181d16ce20429c13fd3d017d7eeed76059aa0d55 (diff)
garbage collection: dead params, unused variables etc
git-svn-id: http://svn.miranda-ng.org/main/trunk@11328 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/config.cpp')
-rw-r--r--plugins/Clist_nicer/src/config.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/Clist_nicer/src/config.cpp b/plugins/Clist_nicer/src/config.cpp
index 6332c2879f..682a1b85ed 100644
--- a/plugins/Clist_nicer/src/config.cpp
+++ b/plugins/Clist_nicer/src/config.cpp
@@ -163,7 +163,7 @@ TExtraCache* cfg::getCache(const MCONTACT hContact, const char *szProto)
mir_cslock lck(cachecs);
TExtraCache *p = (TExtraCache*)calloc(sizeof(TExtraCache), 1);
p->hContact = hContact;
- LoadSkinItemToCache(p, szProto);
+ LoadSkinItemToCache(p);
p->dwDFlags = db_get_dw(hContact, "CList", "CLN_Flags", 0);
GetCachedStatusMsg(p, const_cast<char *>(szProto));
p->dwLastMsgTime = INTSORT_GetLastMsgTime(hContact);
@@ -175,9 +175,7 @@ void ReloadSkinItemsToCache()
{
for (int i = 0; i < cfg::arCache.getCount(); i++) {
TExtraCache *p = cfg::arCache[i];
- char *szProto = GetContactProto(p->hContact);
- if (szProto)
- LoadSkinItemToCache(p, szProto);
+ LoadSkinItemToCache(p);
}
}
@@ -253,7 +251,7 @@ void API::Ex_CopyEditToClipboard(HWND hWnd)
SendMessage(hWnd, EM_SETSEL, 0, 0);
}
-INT_PTR CALLBACK API::Ex_DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
+INT_PTR CALLBACK API::Ex_DlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM)
{
WORD wNotifyCode, wID;