From f18fa271a2ff3ff23b83df9d081b6eccc00bd0f4 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 16 Feb 2016 14:16:43 +0000 Subject: [PATCH] Bug 8352: Fix perlcritic '$pdf_data' is declared but not used --- Koha/Printer.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/Koha/Printer.pm b/Koha/Printer.pm index da0385a..f675b6d 100644 --- a/Koha/Printer.pm +++ b/Koha/Printer.pm @@ -58,7 +58,6 @@ sub print { my ( $ps_fh, $ps_filename ) = File::Temp::tempfile(); my $pdf = PDF::FromHTML->new( encoding => 'utf-8' ); - my $pdf_data; $pdf->load_file( \$data ); $pdf->convert(); $pdf->write_file( $pdf_filename ); -- 2.7.0