diff options
author | George Hazan <ghazan@miranda.im> | 2020-01-29 20:26:01 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-01-29 20:26:01 +0300 |
commit | 22985cfd94e02d1308b1facd22359c863dcf8aba (patch) | |
tree | 7b4f251009d22c25a422f93fdc32eac815b38952 /protocols/SkypeWeb/src/skype_history_sync.cpp | |
parent | 8d60f01ae16e88730284757f0a062300b63b2b2d (diff) |
unneded checks removed
Diffstat (limited to 'protocols/SkypeWeb/src/skype_history_sync.cpp')
-rw-r--r-- | protocols/SkypeWeb/src/skype_history_sync.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. 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;
|