Bug 16635: [QA Follow-up] Eliminate some global package vars
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 6 Jun 2016 08:49:06 +0000 (10:49 +0200)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 16 Jun 2016 10:03:37 +0000 (12:03 +0200)
commitfbc8114f54dd2f684f4fbdb0fbf4a5d44b534136
tree36322dc721134f3463464083c890d4716310a9bd
parent8a5e451e7f3c8e982fc5372b7f3224052ff3726b
Bug 16635: [QA Follow-up] Eliminate some global package vars

[1] $branch is only related to line 123 as fallback.
[2] $width moved to a constant; sub width is not used.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tested the corresponding plugin in item editor.
Test t/db_dependent/Barcodes.t and Barcodes_ValueBuilder.t still pass.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 4fc8b3d6cf6453f7ff550b9fbde1a7f6315dd066)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
(cherry picked from commit 94d77bd9c2955f5bafa868f3e2aa375112383194)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
C4/Barcodes/hbyymmincr.pm