Skip to content

Commit 23f6a1a

Browse files
samuelophdfandrich
authored andcommitted
tests: Remove unused variables
* tests/directories.pm: - %diroutput * tests/ftpserver.pl: - %exit_signal * tests/test1135.pl: - @syms - %doc - %rem * tests/test1167.pl: - %doc - %rem * tests/tftpserver.pl: - %fork Closes #16798
1 parent 5888105 commit 23f6a1a

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

tests/directories.pm

-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ sub ftp_createcontent {
212212
my $eol = $$list{'eol'};
213213
my $list_ref = $$list{'files'};
214214

215-
my @diroutput;
216215
my @contentlist;
217216
if($type eq "unix") {
218217
for(@$list_ref) {

tests/ftpserver.pl

-1
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,6 @@ BEGIN
187187
# global vars used for signal handling
188188
#
189189
my $got_exit_signal = 0; # set if program should finish execution ASAP
190-
my $exit_signal; # first signal handled in exit_signal_handler
191190

192191
#**********************************************************************
193192
# Mail related definitions

tests/test1135.pl

-4
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@
6868
my $summary=0;
6969
my $misses=0;
7070

71-
my @syms;
72-
my %doc;
73-
my %rem;
74-
7571
my @out;
7672
foreach my $f (@incs) {
7773
open H, "<$f" || die;

tests/test1167.pl

-2
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@
6767
my $misses=0;
6868

6969
my @syms;
70-
my %doc;
71-
my %rem;
7270

7371
sub scanenums {
7472
my ($file)=@_;

tests/tftpserver.pl

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ BEGIN
4646
my $portfile;
4747
my $logfile;
4848
my $srcdir;
49-
my $fork;
5049

5150
my $flags = "";
5251
my $path = '.';

0 commit comments

Comments
 (0)