Bug 14446: Workaround to resolve uninitialized value in goto warning
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 4 Jul 2018 14:03:33 +0000 (16:03 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jul 2018 11:41:32 +0000 (11:41 +0000)
commitdbdd85ee1ebd99e4c8084664b4a7a9bb9ef34d74
tree41a831e68ed39b659772c96d573b3ba1f2059c27
parent9bfb3bc3782dd6b516d0144074b57e55cbefae2e
Bug 14446: Workaround to resolve uninitialized value in goto warning

Forcing both GetTab calls to list context resolves the warning.
A workaround, not a real fix.

Test plan:
Search for something in the syspref text bar.
Without this patch, you will have a warn: Use of uninitialized value in goto
With this patch, you won't.

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
admin/preferences.pl