comparison libinterp/dldfcn/audioread.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 bd51beb6205e
children 26cfccfee9a0 0a5b15007766
comparison
equal deleted inserted replaced
28220:6cccc3c82175 28223:45763d59cb4f
433 433
434 octave::unwind_protect frame; 434 octave::unwind_protect frame;
435 435
436 frame.add_fcn (safe_close, file); 436 frame.add_fcn (safe_close, file);
437 437
438 sf_command (file, SFC_SET_NORM_DOUBLE, NULL, SF_TRUE); 438 sf_command (file, SFC_SET_NORM_DOUBLE, nullptr, SF_TRUE);
439 sf_command (file, SFC_SET_CLIPPING, NULL, SF_TRUE) ; 439 sf_command (file, SFC_SET_CLIPPING, nullptr, SF_TRUE) ;
440 sf_command (file, SFC_SET_VBR_ENCODING_QUALITY, &quality, sizeof (quality)); 440 sf_command (file, SFC_SET_VBR_ENCODING_QUALITY, &quality, sizeof (quality));
441 441
442 if (title != "") 442 if (title != "")
443 sf_set_string (file, SF_STR_TITLE, title.c_str ()); 443 sf_set_string (file, SF_STR_TITLE, title.c_str ());
444 444