summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcitems.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-06-29 20:46:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-06-29 20:46:04 +0000
commit9d5df5c08b85b0537d1bc0d26055a08fb7ff4c4a (patch)
tree46ee217da3641c98c3c6659fe9c9acb048658c0a /plugins/Clist_modern/src/modern_clcitems.cpp
parent80c568f8938f2fef76bf7a54179278e17d327d90 (diff)
- unused fields and functions removed;
- code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@9623 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcitems.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcitems.cpp13
1 files changed, 2 insertions, 11 deletions
diff --git a/plugins/Clist_modern/src/modern_clcitems.cpp b/plugins/Clist_modern/src/modern_clcitems.cpp
index 8de05ac9cd..02812c1d09 100644
--- a/plugins/Clist_modern/src/modern_clcitems.cpp
+++ b/plugins/Clist_modern/src/modern_clcitems.cpp
@@ -101,7 +101,7 @@ int cli_AddItemToGroup(ClcGroup *group, int iAboveItem)
return iAboveItem;
}
-ClcGroup *cli_AddGroup(HWND hwnd, ClcData *dat, const TCHAR *szName, DWORD flags, int groupId, int calcTotalMembers)
+ClcGroup* cli_AddGroup(HWND hwnd, ClcData *dat, const TCHAR *szName, DWORD flags, int groupId, int calcTotalMembers)
{
ClearRowByIndexCache();
if (!dat->force_in_dialog && !(GetWindowLongPtr(hwnd, GWL_STYLE) & CLS_SHOWHIDDEN))
@@ -594,16 +594,7 @@ void cli_SaveStateAndRebuildList(HWND hwnd, ClcData *dat)
WORD pdnce___GetStatus(ClcCacheEntry *pdnce)
{
- if (!pdnce)
- return ID_STATUS_OFFLINE;
- else
- return pdnce->m_cache_nStatus;
-}
-
-void pdnce___SetStatus(ClcCacheEntry *pdnce, WORD wStatus)
-{
- if (pdnce)
- pdnce->m_cache_nStatus = wStatus;
+ return (!pdnce) ? ID_STATUS_OFFLINE : pdnce->m_cache_nStatus;
}
ClcContact* cliCreateClcContact()