mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Fix clang-tidy modernize-use-nullptr findings
This commit is contained in:
parent
a3078f3132
commit
ee319fc1c5
45 changed files with 200 additions and 201 deletions
|
@ -180,7 +180,7 @@ void File::SetBuf(bool arg_buffered) {
|
|||
if ( ! f )
|
||||
return;
|
||||
|
||||
if ( util::detail::setvbuf(f, NULL, arg_buffered ? _IOFBF : _IOLBF, 0) != 0 )
|
||||
if ( util::detail::setvbuf(f, nullptr, arg_buffered ? _IOFBF : _IOLBF, 0) != 0 )
|
||||
reporter->Error("setvbuf failed");
|
||||
|
||||
buffered = arg_buffered;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue