summaryrefslogtreecommitdiff
path: root/plugins/Toaster/src/services.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-08-31 20:36:18 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-08-31 20:36:18 +0000
commit0ed4c703d7de168e5f59c84cb7d447a42e27877e (patch)
tree20360ca25e42d4fd29e26ddbeeda5a46cb7a684e /plugins/Toaster/src/services.cpp
parent9f87be3ed2ddf7db63e7b5d554df84122e2b21bb (diff)
Toaster: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15131 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Toaster/src/services.cpp')
-rw-r--r--plugins/Toaster/src/services.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Toaster/src/services.cpp b/plugins/Toaster/src/services.cpp
index 6cc1b7569a..80bc0c85fe 100644
--- a/plugins/Toaster/src/services.cpp
+++ b/plugins/Toaster/src/services.cpp
@@ -81,8 +81,7 @@ void __stdcall ShowToastNotification(void* p)
if (ProtoServiceExists(szProto, PS_GETAVATARINFO))
{
- PROTO_AVATAR_INFORMATION pai = { 0 };
- pai.hContact = td->hContact;
+ PROTO_AVATAR_INFORMATION pai = { td->hContact };
if (CallProtoService(szProto, PS_GETAVATARINFO, 0, (LPARAM)&pai) == GAIR_SUCCESS)
{
imagePath = mir_tstrdup(pai.filename);