summaryrefslogtreecommitdiff
path: root/desktop/source/minidump
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2016-02-26 14:51:22 +0200
committerTor Lillqvist <tml@collabora.com>2016-02-26 15:00:41 +0200
commit0eeeaae5d1edc0dbd0962666bdf9432e84cfa0e6 (patch)
treec1978abd0f415d440a8b04071693a6a33b01aa24 /desktop/source/minidump
parent79c11bb56ecf9f99250387ee59559f7472028f05 (diff)
loplugin:nullptr
Change-Id: I11f661b31db8073010a520ccd44d93e1eb7c5bc0
Diffstat (limited to 'desktop/source/minidump')
-rw-r--r--desktop/source/minidump/minidump_upload.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/source/minidump/minidump_upload.cxx b/desktop/source/minidump/minidump_upload.cxx
index 220286a4fba0..3077d9449fd8 100644
--- a/desktop/source/minidump/minidump_upload.cxx
+++ b/desktop/source/minidump/minidump_upload.cxx
@@ -111,7 +111,7 @@ bool uploadContent(std::map<std::string, std::string>& parameters)
// Disable 100-continue header.
char buf[] = "Expect:";
- curl_slist* headerlist = NULL;
+ curl_slist* headerlist = nullptr;
headerlist = curl_slist_append(headerlist, buf);
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headerlist);
@@ -132,15 +132,15 @@ bool uploadContent(std::map<std::string, std::string>& parameters)
#endif
/*
* TODO
- if (error_description != NULL)
+ if (error_description != nullptr)
*error_description = curl_easy_strerror(cc);
*/
- if (formpost != NULL)
+ if (formpost != nullptr)
{
curl_formfree(formpost);
}
- if (headerlist != NULL)
+ if (headerlist != nullptr)
{
curl_slist_free_all(headerlist);
}