Bug 16653: (QA follow-up) Avoid a warning and remove unused variables

Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 73f37b3a56)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Julian Maurice 2018-06-25 14:58:17 +02:00 committed by Fridolin Somers
parent ad6b2e8dc1
commit bc8d1205a6
1 changed files with 1 additions and 7 deletions

View File

@ -94,7 +94,7 @@ if ($do_it) {
print $line->{rowtitle}.$sep;
foreach my $cell (@$x) {
print $cell->{value}.$sep;
print $cell->{count};
print $cell->{count} // '';
}
print "\n";
}
@ -103,10 +103,6 @@ if ($do_it) {
# Displaying choices
} else {
my $dbh = C4::Context->dbh;
my @values;
my %labels;
my %select;
my $req;
my $CGIextChoice = ( 'CSV' ); # FIXME translation
my $CGIsepChoice=GetDelimiterChoices;
@ -158,7 +154,6 @@ sub calculate {
my ($line, $column, $filters) = @_;
my @mainloop;
my @loopcol;
my @loopline;
my @looprow;
my %globalline;
my $grantotal =0;
@ -358,7 +353,6 @@ sub calculate {
my $dbcalc = $dbh->prepare($strcalc);
$dbcalc->execute;
my $previous_col;
my %indice;
while (my @data = $dbcalc->fetchrow) {
my ($row, $rank, $id, $callnum, $ccode, $loc, $col )=@data;