summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/structs.h
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:08:16 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-10-02 16:08:16 +0000
commit089e7f228a5d22219ddb059674809c47769d5e53 (patch)
tree40986759192a2e405fb881388ae2ab6e7f377125 /plugins/Toaster/src/structs.h
parent62713cf3eece92588464ce06810146f5c5cece8e (diff)
Toaster: coverity fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@15488 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/structs.h')
-rw-r--r--plugins/Toaster/src/structs.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/plugins/Toaster/src/structs.h b/plugins/Toaster/src/structs.h
index 0aa4f59ae8..ad8835487a 100644
--- a/plugins/Toaster/src/structs.h
+++ b/plugins/Toaster/src/structs.h
@@ -20,14 +20,18 @@ struct ToastData : public MZeroedObject
tszTitle(mir_tstrdup(_tszTitle)),
tszText(mir_tstrdup(_tszText)),
hIcon(_hIcon),
- iType(_hIcon ? 2 : 0)
+ iType(_hIcon ? 2 : 0) ,
+ pPopupProc(NULL),
+ vPopupData(NULL)
{}
ToastData(MCONTACT _hContact, const TCHAR *_tszTitle, const TCHAR *_tszText, HBITMAP bmp = NULL) :
hContact(_hContact),
tszTitle(mir_tstrdup(_tszTitle)),
tszText(mir_tstrdup(_tszText)),
hBitmap(bmp),
- iType(bmp ? 1 : 0)
+ iType(bmp ? 1 : 0),
+ pPopupProc(NULL),
+ vPopupData(NULL)
{}
~ToastData()
{
@@ -43,7 +47,7 @@ struct ClassData : public MZeroedObject
WNDPROC pPopupProc;
- ClassData(int f, HICON h = NULL) : iFlags(f), hIcon(h)
+ ClassData(int f, HICON h = NULL) : iFlags(f), hIcon(h), pPopupProc(NULL)
{
}
};