diff options
author | George Hazan <george.hazan@gmail.com> | 2014-12-11 13:42:27 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-12-11 13:42:27 +0000 |
commit | 0c8a93e6411035f6a1ca9e6537a6d569711cf4c3 (patch) | |
tree | a080ea2ffed0458c30e2395fb4442d4049b5dbcc /plugins/Clist_nicer/src/clc.cpp | |
parent | 181d16ce20429c13fd3d017d7eeed76059aa0d55 (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/clc.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clc.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/Clist_nicer/src/clc.cpp b/plugins/Clist_nicer/src/clc.cpp index 0f58d631b8..0402c3c65b 100644 --- a/plugins/Clist_nicer/src/clc.cpp +++ b/plugins/Clist_nicer/src/clc.cpp @@ -97,7 +97,7 @@ static int ClcEventAdded(WPARAM hContact, LPARAM lParam) return 0;
}
-static int ClcMetamodeChanged(WPARAM bMetaEnabled, LPARAM lParam)
+static int ClcMetamodeChanged(WPARAM bMetaEnabled, LPARAM)
{
if (bMetaEnabled != cfg::dat.bMetaEnabled) {
cfg::dat.bMetaEnabled = (BYTE)bMetaEnabled;
@@ -123,7 +123,6 @@ static int ClcSettingChanged(WPARAM hContact, LPARAM lParam) ReloadExtraInfo(hContact);
}
else if (hContact != 0 && (szProto = GetContactProto(hContact)) != NULL) {
- char *id = NULL;
if ( !__strcmp(cws->szModule, "Protocol") && !__strcmp(cws->szSetting, "p")) {
char *szProto_s;
pcli->pfnClcBroadcast(INTM_PROTOCHANGED, hContact, lParam);
@@ -171,11 +170,11 @@ static int ClcSettingChanged(WPARAM hContact, LPARAM lParam) else if (!__strcmp(cws->szModule, "Skin") && !__strcmp(cws->szSetting, "UseSound")) {
cfg::dat.soundsOff = cfg::getByte(cws->szModule, cws->szSetting, 0) ? 0 : 1;
ClcSetButtonState(IDC_TBSOUND, cfg::dat.soundsOff ? BST_CHECKED : BST_UNCHECKED);
- SetButtonStates(pcli->hwndContactList);
+ SetButtonStates();
}
else if (!__strcmp(cws->szModule, "CList") && !__strcmp(cws->szSetting, "UseGroups")) {
ClcSetButtonState(IDC_TBHIDEGROUPS, cfg::getByte(cws->szModule, cws->szSetting, SETTING_USEGROUPS_DEFAULT));
- SetButtonStates(pcli->hwndContactList);
+ SetButtonStates();
}
else if (!__strcmp(cws->szModule, "TopToolBar") && !__strcmp(cws->szSetting, "UseFlatButton")) {
SetButtonToSkinned();
|