mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Remove dead code: dump_used_event_handlers
This commit is contained in:
parent
2655a65331
commit
5343924eb9
4 changed files with 0 additions and 20 deletions
12
src/main.cc
12
src/main.cc
|
@ -993,18 +993,6 @@ int main(int argc, char** argv)
|
|||
|
||||
delete dead_handlers;
|
||||
|
||||
EventRegistry::string_list* alive_handlers =
|
||||
event_registry->UsedHandlers();
|
||||
|
||||
if ( alive_handlers->length() > 0 && dump_used_event_handlers )
|
||||
{
|
||||
reporter->Info("invoked event handlers:");
|
||||
for ( int i = 0; i < alive_handlers->length(); ++i )
|
||||
reporter->Info("%s", (*alive_handlers)[i]);
|
||||
}
|
||||
|
||||
delete alive_handlers;
|
||||
|
||||
if ( stmts )
|
||||
{
|
||||
stmt_flow_type flow;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue