scripts: Migrate table iteration to blank identifiers

No obvious hot-cases. Maybe the describe_file() ones or the intel ones
if/when there are hot intel hits.
This commit is contained in:
Arne Welzel 2022-10-04 10:30:29 +02:00
parent 46334f8b59
commit 8c5896a74d
17 changed files with 47 additions and 47 deletions

View file

@ -39,7 +39,7 @@ function describe_file(f: fa_file): string
if ( f$source != "SMB" )
return "";
for ( cid, c in f$conns )
for ( _, c in f$conns )
{
if ( c?$smb_state && c$smb_state?$current_file && c$smb_state$current_file?$name )
return c$smb_state$current_file$name;

View file

@ -241,7 +241,7 @@ event file_state_remove(f: fa_file) &priority=-5
if ( f$source != "SMB" )
return;
for ( id, c in f$conns )
for ( _, c in f$conns )
{
if ( c?$smb_state && c$smb_state?$current_file)
{