summaryrefslogtreecommitdiff
path: root/src/modules/findadd
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/findadd')
-rw-r--r--src/modules/findadd/searchresults.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules/findadd/searchresults.cpp b/src/modules/findadd/searchresults.cpp
index d3f32ea6d5..726ce32bcd 100644
--- a/src/modules/findadd/searchresults.cpp
+++ b/src/modules/findadd/searchresults.cpp
@@ -368,9 +368,7 @@ void ShowMoreOptionsMenu(HWND hwndDlg, int x, int y)
switch(commandId) {
case IDC_ADD:
{
- ADDCONTACTSTRUCT acs;
-
- acs.handle = NULL;
+ ADDCONTACTSTRUCT acs = { 0 };
acs.handleType = HANDLE_SEARCHRESULT;
acs.szProto = lsr->szProto;
acs.psr = &lsr->psr;