From 7b75f16452eb389c635f8b18600222cd05feadac Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 31 Jan 2015 21:05:49 +0000 Subject: - bindata considered useless; - fix for audio files processing git-svn-id: http://svn.miranda-ng.org/main/trunk@11968 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp') diff --git a/protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp b/protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp index d5b5189b44..23461b30fc 100644 --- a/protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp +++ b/protocols/WhatsApp/src/WhatsAPI++/FMessage.cpp @@ -18,8 +18,6 @@ FMessage::FMessage() : this->latitude = 0; this->media_duration_seconds = 0; this->media_size = 0; - this->bindata = 0; - this->bindata_len = 0; } FMessage::FMessage(const std::string &remote_jid, bool from_me, const std::string &id) : @@ -31,8 +29,6 @@ FMessage::FMessage(const std::string &remote_jid, bool from_me, const std::strin this->latitude = 0; this->media_duration_seconds = 0; this->media_size = 0; - this->bindata = 0; - this->bindata_len = 0; } std::string FMessage::getMessage_WA_Type_StrValue(unsigned char type) @@ -59,8 +55,6 @@ std::string FMessage::getMessage_WA_Type_StrValue(unsigned char type) FMessage::~FMessage() { - if (this->bindata != NULL) - free(this->bindata); } Key::Key(const std::string& remote_jid, bool from_me, const std::string& id) -- cgit v1.2.3