Skip to content

Commit

Permalink
util/mkerr.pl: fix perl warning
Browse files Browse the repository at this point in the history
Gets rid of this;

defined(@array) is deprecated at ../util/mkerr.pl line 792.
        (Maybe you should just omit the defined()?)
defined(@array) is deprecated at ../util/mkerr.pl line 800.
        (Maybe you should just omit the defined()?)

Signed-off-by: Geoff Thorpe <[email protected]>
  • Loading branch information
Geoff Thorpe committed Apr 25, 2014
1 parent cdcd5dc commit 647f360
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/mkerr.pl
Original file line number Diff line number Diff line change
Expand Up @@ -789,15 +789,15 @@
push (@runref, $_) unless exists $urcodes{$_};
}

if($debug && defined(@funref) ) {
if($debug && @funref) {
print STDERR "The following function codes were not referenced:\n";
foreach(sort @funref)
{
print STDERR "$_\n";
}
}

if($debug && defined(@runref) ) {
if($debug && @runref) {
print STDERR "The following reason codes were not referenced:\n";
foreach(sort @runref)
{
Expand Down

0 comments on commit 647f360

Please sign in to comment.