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/cluiservices.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/cluiservices.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/cluiservices.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Clist_nicer/src/cluiservices.cpp b/plugins/Clist_nicer/src/cluiservices.cpp index 0e00590c7d..a03ec9a2d6 100644 --- a/plugins/Clist_nicer/src/cluiservices.cpp +++ b/plugins/Clist_nicer/src/cluiservices.cpp @@ -29,7 +29,7 @@ extern HIMAGELIST hCListImages; extern ButtonItem *g_ButtonItems;
extern PLUGININFOEX pluginInfo;
-static INT_PTR GetClistVersion(WPARAM wParam, LPARAM lParam)
+static INT_PTR GetClistVersion(WPARAM, LPARAM lParam)
{
static char g_szVersionString[256];
@@ -58,7 +58,7 @@ void FreeProtocolData(void) int g_maxStatus = ID_STATUS_OFFLINE;
char g_maxProto[100] = "";
-void CluiProtocolStatusChanged(int parStatus, const char* szProto)
+void CluiProtocolStatusChanged(int, const char*)
{
int maxOnline = 0, onlineness = 0;
WORD maxStatus = ID_STATUS_OFFLINE;
@@ -198,7 +198,7 @@ void CluiProtocolStatusChanged(int parStatus, const char* szProto) }
// update the clui button
- WORD wStatus;
+ WORD wStatus = 0;
if (!db_get(NULL, "CList", "PrimaryStatus", &dbv)) {
if (dbv.type == DBVT_ASCIIZ && mir_strlen(dbv.pszVal) > 1) {
wStatus = (WORD)CallProtoService(dbv.pszVal, PS_GETSTATUS, 0, 0);
|