[Koha-bugs] [Bug 17447] Remove unused vars from batchRebuildItemsTables.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 30 16:45:28 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17447

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #58528|0                           |1
        is obsolete|                            |

--- Comment #13 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 58533
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58533&action=edit
Bug 17447: %opt is unused

Deleted the line.
perlcritic -4 before and after.
Before there are issues. After there is not.

Also, changed function to not rely on implicit return value
of last line, but explicitly stated a return. And operator
changed, due to precedence issues.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list