From a7c24ca48995cf2bf436156302f96b91bf135409 Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Mon, 13 Nov 2017 15:03:31 +0100 Subject: Code modernize ... * replace 0/NULL with nullptr [using clang-tidy] --- protocols/SkypeWeb/src/skype_history_sync.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 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 3b1f4d55a1..000007dbf3 100644 --- a/protocols/SkypeWeb/src/skype_history_sync.cpp +++ b/protocols/SkypeWeb/src/skype_history_sync.cpp @@ -21,7 +21,7 @@ along with this program. If not, see . void CSkypeProto::OnGetServerHistory(const NETLIBHTTPREQUEST *response) { - if (response == NULL) + if (response == nullptr) return; JSONNode root = JSONNode::parse(response->pData); @@ -111,7 +111,7 @@ INT_PTR CSkypeProto::GetContactHistory(WPARAM hContact, LPARAM) void CSkypeProto::OnSyncHistory(const NETLIBHTTPREQUEST *response) { - if (response == NULL || response->pData == NULL) + if (response == nullptr || response->pData == nullptr) return; JSONNode root = JSONNode::parse(response->pData); -- cgit v1.2.3