summaryrefslogtreecommitdiff
path: root/protocols/Skype
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Skype')
-rw-r--r--protocols/Skype/src/skype_contacts.cpp2
-rw-r--r--protocols/Skype/src/skype_messages.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Skype/src/skype_contacts.cpp b/protocols/Skype/src/skype_contacts.cpp
index 0f848d522f..72a518a80f 100644
--- a/protocols/Skype/src/skype_contacts.cpp
+++ b/protocols/Skype/src/skype_contacts.cpp
@@ -469,7 +469,7 @@ void CSkypeProto::OnContactsReceived(const ConversationRef &conversation, const
message->GetPropGuid(guid);
ReadMessageParam param = { guid, messageType };
- PROTORECVEVENT pre;
+ PROTORECVEVENT pre = { 0 };
pre.flags = PREF_UTF;
pre.lParam = (LPARAM)&param;
pre.timestamp = timestamp;
diff --git a/protocols/Skype/src/skype_messages.cpp b/protocols/Skype/src/skype_messages.cpp
index 93d8f71f49..d0e4ea81da 100644
--- a/protocols/Skype/src/skype_messages.cpp
+++ b/protocols/Skype/src/skype_messages.cpp
@@ -68,7 +68,7 @@ void CSkypeProto::OnMessageReceived(const ConversationRef &conversation, const M
if (status != CMessage::UNCONSUMED_NORMAL)
flags |= PREF_CREATEREAD;
- PROTORECVEVENT recv;
+ PROTORECVEVENT recv = { 0 };
recv.flags = flags;
recv.lParam = (LPARAM)&param;
recv.timestamp = timestamp;