mirror of
https://gitlab.com/shorewall/code.git
synced 2025-06-25 04:01:45 +02:00
Cosmetic changes in code from when I was still learning Perl
Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
parent
69387b9099
commit
040f693583
@ -567,6 +567,7 @@ sub determine_zones()
|
|||||||
for ( @{$zones{$zone}{children}} ) {
|
for ( @{$zones{$zone}{children}} ) {
|
||||||
next ZONE unless $ordered{$_};
|
next ZONE unless $ordered{$_};
|
||||||
}
|
}
|
||||||
|
|
||||||
$ordered{$zone} = 1;
|
$ordered{$zone} = 1;
|
||||||
push @zones, $zone;
|
push @zones, $zone;
|
||||||
redo PUSHED;
|
redo PUSHED;
|
||||||
@ -574,7 +575,7 @@ sub determine_zones()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assert( scalar @zones == scalar @z );
|
assert( @zones == @z );
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user