mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
bifcl: Pass boolean false to BuiltinFunc constructor instead of zero
This fixes a modernize-use-bool-literals clang-tidy warning in the generated code.
This commit is contained in:
parent
c30aa7a903
commit
7026938082
1 changed files with 1 additions and 1 deletions
|
@ -584,7 +584,7 @@ head_1: TOK_ID opt_ws arg_begin
|
|||
if ( definition_type == FUNC_DEF )
|
||||
{
|
||||
fprintf(fp_func_init,
|
||||
"\t(void) new zeek::detail::BuiltinFunc(zeek::%s_bif, \"%s\", 0);\n",
|
||||
"\t(void) new zeek::detail::BuiltinFunc(zeek::%s_bif, \"%s\", false);\n",
|
||||
decl.c_fullname.c_str(), decl.zeek_fullname.c_str());
|
||||
|
||||
// This is the "canonical" version, with argument type and order
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue