summaryrefslogtreecommitdiff
path: root/src/modules/clist/clcidents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-10 16:38:37 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-10 16:38:37 +0000
commit5bedc7c584439c4b2cf01e605c044746674003e4 (patch)
tree3103c3c16254e7ed9c42a3fcf908562a8b6dfbc8 /src/modules/clist/clcidents.cpp
parent9239c8833dbe27e5257b043a7ca2e90288a9fedb (diff)
- fix for uninitialized variables;
- code cleaning in clists git-svn-id: http://svn.miranda-ng.org/main/trunk@2274 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/clist/clcidents.cpp')
-rw-r--r--src/modules/clist/clcidents.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/clist/clcidents.cpp b/src/modules/clist/clcidents.cpp
index ad144c04d3..390c704325 100644
--- a/src/modules/clist/clcidents.cpp
+++ b/src/modules/clist/clcidents.cpp
@@ -132,6 +132,10 @@ int fnFindItem(HWND hwnd, struct ClcData *dat, HANDLE hItem, ClcContact **contac
}
group->scanIndex++;
}
+
+ if (isVisible) *isVisible = FALSE;
+ if (contact) *contact = NULL;
+ if (subgroup) *subgroup = NULL;
return 0;
}