Bug 35570: (QA follow-up) Remove unused variable definitions

FAIL	Koha/ILL/Backend/Standard.pm
   FAIL	  critic

"$marc_isbn" is declared but not used at line 1179, column 5. Unused variables clutter code and make it harder to read.
"$marc_author" is declared but not used at line 1180, column 5. Unused variables clutter code and make it harder to read.
"$marc_title" is declared but not used at line 1181, column 5. Unused variables clutter code and make it harder to read.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-10-31 10:32:02 +00:00
parent 179f0f32b7
commit 217b004d58
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 0 additions and 4 deletions

View File

@ -1177,10 +1177,6 @@ sub _standard_request2biblio {
($record) = MarcToUTF8Record( $record, $marcflavour );
}
my $marc_isbn;
my $marc_author;
my $marc_title;
if( $marcflavour eq 'MARC21' ) {
$record->append_fields(MARC::Field->new( '020', '', '', a => $isbn )) if $isbn;
$record->append_fields(MARC::Field->new( '100', '1', '', a => $author )) if $author;