mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
The remaining nulls
This commit is contained in:
parent
41c3256faa
commit
0a47588d0b
80 changed files with 565 additions and 565 deletions
|
@ -13,8 +13,8 @@ EventHandler::EventHandler(const char* arg_name)
|
|||
{
|
||||
name = copy_string(arg_name);
|
||||
used = false;
|
||||
local = 0;
|
||||
type = 0;
|
||||
local = nullptr;
|
||||
type = nullptr;
|
||||
error_handler = false;
|
||||
enabled = true;
|
||||
generate_always = false;
|
||||
|
@ -42,10 +42,10 @@ FuncType* EventHandler::FType(bool check_export)
|
|||
check_export);
|
||||
|
||||
if ( ! id )
|
||||
return 0;
|
||||
return nullptr;
|
||||
|
||||
if ( id->Type()->Tag() != TYPE_FUNC )
|
||||
return 0;
|
||||
return nullptr;
|
||||
|
||||
type = id->Type()->AsFuncType();
|
||||
return type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue