summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGeoff Thorpe <geoff@openssl.org>2014-04-25 01:20:16 -0400
committerDr. Stephen Henson <steve@openssl.org>2014-07-02 01:50:51 +0100
commitf87f88a69fdd1844dd1ed6c2998c488e3a9860bc (patch)
tree5b1dc85ea13968303d8462ed318b791a69fb929c /util
parent6d87cd2f033533cd430f7e3c7dccbcb62741a559 (diff)
downloadopenssl-new-f87f88a69fdd1844dd1ed6c2998c488e3a9860bc.tar.gz
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> (cherry picked from commit 647f360e2e86818cee1f2d0429e071d14814e0b5)
Diffstat (limited to 'util')
-rw-r--r--util/mkerr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/mkerr.pl b/util/mkerr.pl
index aec401c773..ee23a82912 100644
--- a/util/mkerr.pl
+++ b/util/mkerr.pl
@@ -787,7 +787,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)
{
@@ -795,7 +795,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)
{