Mercurial > octave
diff liboctave/util/url-transfer.cc @ 28223:45763d59cb4f stable
use nullptr instead of NULL or 0 in a few more places
* QWinTerminalImpl.cpp, oct-procbuf.cc, audioread.cc, jit-typeinfo.cc,
lo-sysdep.cc, url-transfer.cc, shared-fcns.h: Replace NULL and 0 with
nullptr where appropriate.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 15 Apr 2020 15:55:32 -0400 |
parents | a4268efb7334 |
children | 159b6a1eb408 |
line wrap: on
line diff
--- a/liboctave/util/url-transfer.cc Tue Apr 14 22:53:19 2020 -0400 +++ b/liboctave/util/url-transfer.cc Wed Apr 15 15:55:32 2020 -0400 @@ -732,7 +732,7 @@ // path of the file as its value. void form_data_post (const Array<std::string>& param) { - struct curl_httppost *post = NULL, *last = NULL; + struct curl_httppost *post = nullptr, *last = nullptr; SETOPT (CURLOPT_URL, m_host_or_url.c_str ());