[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:37:58 CET 2016


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

--- Comment #8 from M. Tompsett <mtompset at hotmail.com> ---
Comment on attachment 58528
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58528
Bug 17447: %opt is unused

Review of attachment 58528:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=17447&attachment=58528)
-----------------------------------------------------------------

::: misc/batchRebuildItemsTables.pl
@@ +109,4 @@
>  
>  sub defnonull {
>      my $var = shift;
> +    return defined $var && $var ne q{};

This was so I could get perlcritic -4. :)

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


More information about the Koha-bugs mailing list