mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
suppress unneeded initializations
This commit is contained in:
parent
a830c269ab
commit
a2cec7463f
3 changed files with 26 additions and 23 deletions
|
@ -240,6 +240,9 @@ void CPPCompile::GenStandaloneActivation()
|
|||
|
||||
for ( const auto& func : funcs )
|
||||
{
|
||||
if ( func.ShouldSkip() )
|
||||
continue;
|
||||
|
||||
auto f = func.Func();
|
||||
auto fname = BodyName(func);
|
||||
auto bname = Canonicalize(fname.c_str()) + "_zf";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue