diff options
Diffstat (limited to 'src/modules/extraicons/DefaultExtraIcons.cpp')
-rw-r--r-- | src/modules/extraicons/DefaultExtraIcons.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extraicons/DefaultExtraIcons.cpp b/src/modules/extraicons/DefaultExtraIcons.cpp index 872c5915cc..6599be7aa6 100644 --- a/src/modules/extraicons/DefaultExtraIcons.cpp +++ b/src/modules/extraicons/DefaultExtraIcons.cpp @@ -176,7 +176,7 @@ static void SetExtraIcons(HANDLE hContact) if (info.db[j + 1] == NULL)
break;
- DBVARIANT dbv = { 0 };
+ DBVARIANT dbv;
if (!DBGetContactSettingString(hContact, info.db[j] == NULL ? proto : info.db[j], info.db[j+1], &dbv)) {
if (!IsEmpty(dbv.pszVal)) {
info.SetIcon(hContact, &info, dbv.pszVal);
@@ -253,8 +253,8 @@ static int DefaultOnClick(WPARAM wParam, LPARAM lParam, LPARAM param) if (info->db[j + 1] == NULL)
break;
- DBVARIANT dbv = { 0 };
- if (!DBGetContactSettingString(hContact, info->db[j] == NULL ? proto : info->db[j], info->db[j+1], &dbv)) {
+ DBVARIANT dbv;
+ if ( !DBGetContactSettingString(hContact, info->db[j] == NULL ? proto : info->db[j], info->db[j+1], &dbv)) {
if (!IsEmpty(dbv.pszVal)) {
info->OnClick(info, dbv.pszVal);
found = true;
|