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

@ -37,7 +37,7 @@ function describe_file(f: fa_file): string
if ( f$source != "FTP" )
return "";
for ( cid, c in f$conns )
for ( _, c in f$conns )
{
if ( c?$ftp )
return FTP::describe(c$ftp);

View file

@ -369,7 +369,7 @@ hook finalize_ftp(c: connection)
{
if ( ! c?$ftp ) return;
for ( ca, cmdarg in c$ftp$pending_commands )
for ( _, cmdarg in c$ftp$pending_commands )
{
c$ftp$cmdarg = cmdarg;
ftp_message(c$ftp);