mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 23:58:20 +00:00
file_analysis: Replace nulls with nullptr
This commit is contained in:
parent
6897912909
commit
393b8353cb
14 changed files with 52 additions and 52 deletions
|
@ -83,7 +83,7 @@ Analyzer* AnalyzerSet::QueueAdd(const file_analysis::Tag& tag, RecordVal* args)
|
|||
if ( ! a )
|
||||
{
|
||||
delete key;
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
mod_queue.push(new AddMod(a, key));
|
||||
|
@ -184,7 +184,7 @@ file_analysis::Analyzer* AnalyzerSet::InstantiateAnalyzer(const Tag& tag,
|
|||
reporter->Error("[%s] Failed file analyzer %s instantiation",
|
||||
file->GetID().c_str(),
|
||||
file_mgr->GetComponentName(tag).c_str());
|
||||
return 0;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
return a;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue