From d92ed661877808852d581c9ded1abdf61e199ffb Mon Sep 17 00:00:00 2001
From: David Gustafsson <david.gustafsson@ub.gu.se>
Date: Mon, 4 Apr 2022 16:41:00 +0200
Subject: [PATCH] Bug 29440: Fix QA-tool issues

Signed-off-by: =?UTF-8?q?Micha=C5=82=20Kula?=
 <148193449+mkibp@users.noreply.github.com>
---
 misc/migration_tools/bulkmarcimport.pl | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/misc/migration_tools/bulkmarcimport.pl b/misc/migration_tools/bulkmarcimport.pl
index 627720cee4d..b9e961c9115 100755
--- a/misc/migration_tools/bulkmarcimport.pl
+++ b/misc/migration_tools/bulkmarcimport.pl
@@ -526,7 +526,7 @@ RECORD: foreach my $record (@{$marc_records}) {
                         next RECORD;
                     }
                     elsif (!$success) {
-                        warn "ERROR: Update biblio $matched_record_id failed for unkown reason";
+                        warn "ERROR: Update biblio $matched_record_id failed for unknown reason";
                         printlog( { id => $matched_record_id, op => "update", status => "ERROR" } ) if ($logfile);
                         next RECORD;
                     }
@@ -713,7 +713,6 @@ sub GetRecordId {
             return $marcrecord->subfield($tag, $subfield);
         }
     }
-    return undef;
 }
 sub build_query {
     my ($match, $record) = @_;
-- 
2.40.0