telepathy-qt: BaseChannel: Added missing members initialization on construction.

David Edmundson davidedmundson at kemper.freedesktop.org
Fri Apr 24 06:40:14 PDT 2015


Module: telepathy-qt
Branch: master
Commit: 0a8d52d12226526b647d02b486531dd4330d5673
URL:    http://cgit.freedesktop.org/telepathy/telepathy-qt/commit/?id=0a8d52d12226526b647d02b486531dd4330d5673

Author: Alexandr Akulich <akulichalexander at gmail.com>
Date:   Fri Mar 27 12:43:04 2015 +0500

BaseChannel: Added missing members initialization on construction.

---

 TelepathyQt/base-channel.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/TelepathyQt/base-channel.cpp b/TelepathyQt/base-channel.cpp
index bd3dbd4..aedaff0 100644
--- a/TelepathyQt/base-channel.cpp
+++ b/TelepathyQt/base-channel.cpp
@@ -51,6 +51,8 @@ struct TP_QT_NO_EXPORT BaseChannel::Private {
           channelType(channelType),
           targetHandle(targetHandle),
           targetHandleType(targetHandleType),
+          requested(true),
+          initiatorHandle(0),
           adaptee(new BaseChannel::Adaptee(dbusConnection, parent)) {
         static uint s_channelIncrementalId = 0;
 



More information about the telepathy-commits mailing list