mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
unused variables found via use-def analysis (plus an indentation micro-nit)
This commit is contained in:
parent
6e2cd3ae44
commit
fe46ef06a0
5 changed files with 6 additions and 7 deletions
|
@ -731,7 +731,7 @@ function find_rules_subnet(sn: subnet) : vector of Rule
|
|||
{
|
||||
local sn_entry = matches[m];
|
||||
local rule_ids = rules_by_subnets[sn_entry];
|
||||
for ( rule_id in rules_by_subnets[sn_entry] )
|
||||
for ( rule_id in rule_ids )
|
||||
{
|
||||
if ( rule_id in rules )
|
||||
ret += rules[rule_id];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue