Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fa31a582 authored by Tobin C. Harding's avatar Tobin C. Harding
Browse files

leaking_addresses: remove dead/unused code



debug_arrays is not called. Also, %seen hash is not used. We should
remove unused code.

Remove dead code.

Signed-off-by: default avatarTobin C. Harding <me@tobin.cc>
parent 7e5758f7
Loading
Loading
Loading
Loading
+0 −9
Original line number Diff line number Diff line
@@ -133,14 +133,6 @@ walk(@DIRS);

exit 0;

sub debug_arrays
{
	print 'dirs_any: ' . join(", ", @skip_walk_dirs_any) . "\n";
	print 'dirs_abs: ' . join(", ", @skip_walk_dirs_abs) . "\n";
	print 'parse_any: ' . join(", ", @skip_parse_files_any) . "\n";
	print 'parse_abs: ' . join(", ", @skip_parse_files_abs) . "\n";
}

sub dprint
{
	printf(STDERR @_) if $debug;
@@ -281,7 +273,6 @@ sub skip_walk
sub walk
{
	my @dirs = @_;
	my %seen;

	while (my $pwd = shift @dirs) {
		next if (skip_walk($pwd));