file_analysis: Replace nulls with nullptr

This commit is contained in:
Tim Wojtulewicz 2020-04-02 09:55:53 -07:00
parent 6897912909
commit 393b8353cb
14 changed files with 52 additions and 52 deletions

View file

@ -48,7 +48,7 @@ file_analysis::Analyzer* Extract::Instantiate(RecordVal* args, File* file)
auto limit = get_extract_field_val(args, "extract_limit");
if ( ! fname || ! limit )
return 0;
return nullptr;
return new Extract(args, file, fname->AsString()->CheckString(),
limit->AsCount());