From 22985cfd94e02d1308b1facd22359c863dcf8aba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 29 Jan 2020 20:26:01 +0300 Subject: unneded checks removed --- protocols/SkypeWeb/src/skype_history_sync.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp') diff --git a/protocols/SkypeWeb/src/skype_history_sync.cpp b/protocols/SkypeWeb/src/skype_history_sync.cpp index 23392313b4..7b31729bb4 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -21,9 +21,6 @@ along with this program. If not, see . void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response) { - if (response == nullptr) - return; - JsonReply reply(response); if (reply.error()) return; @@ -114,9 +111,6 @@ INT_PTR CSkypeProto::GetContactHistory(WPARAM hContact, LPARAM) void CSkypeProto::OnSyncHistory(const NETLIBHTTPREQUEST *response) { - if (response == nullptr || response->pData == nullptr) - return; - JsonReply reply(response); if (reply.error()) return; -- cgit v1.2.3