summaryrefslogtreecommitdiffstats
path: root/util/mkerr.pl
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2014-04-25 01:20:16 -0400
committerGeoff Thorpe <geoff@openssl.org>2014-04-25 14:31:05 -0400
commit647f360e2e86818cee1f2d0429e071d14814e0b5 (patch)
tree6484246e4ef8f03eb5c2f79c327b17e9667adfe8 /util/mkerr.pl
parentcdcd5dc8655532bc08e7594c660a601c7b1c1ff9 (diff)
util/mkerr.pl: fix perl warning
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 <geoff@openssl.org>
Diffstat (limited to 'util/mkerr.pl')
-rw-r--r--util/mkerr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index 49a52a7f33..9a3b634d57 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -789,7 +789,7 @@ foreach (keys %rcodes) {
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)
{
@@ -797,7 +797,7 @@ if($debug && defined(@funref) ) {
}
}
-if($debug && defined(@runref) ) {
+if($debug && @runref) {
print STDERR "The following reason codes were not referenced:\n";
foreach(sort @runref)
{