From ea04333e539a40e663f8194996c6782ea12be547 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 11 May 2016 15:47:46 +0200 Subject: [PATCH] Bug 16428: [QA Follow-up] Useless call to GetMarcStructure in _build_default_values_for_mod_marc MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The routine calls GetMarcStructure and does not use its return value after all. Test plan: Run t/db_dependent/Items.t Signed-off-by: Marcel de Rooy Signed-off-by: Kyle M Hall (cherry picked from commit 6a706b86a273672b1e1ca3f1456fde08dd7a0da2) Signed-off-by: Frédéric Demians (cherry picked from commit b31ee2eaf9dd86171cac1598f3f9a611ea145f83) Signed-off-by: Julian Maurice --- C4/Items.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/C4/Items.pm b/C4/Items.pm index ef8db50d5b..f7165e59bb 100644 --- a/C4/Items.pm +++ b/C4/Items.pm @@ -453,7 +453,6 @@ sub _build_default_values_for_mod_marc { my ($frameworkcode) = @_; return $default_values_for_mod_from_marc{$frameworkcode} if exists $default_values_for_mod_from_marc{$frameworkcode}; - my $marc_structure = C4::Biblio::GetMarcStructure( 1, $frameworkcode ); my $default_values = { barcode => undef, booksellerid => undef, -- 2.39.5