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:
parent
179f0f32b7
commit
217b004d58
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue