Commit 5d7c8a48 authored by Geoff Thorpe's avatar Geoff Thorpe Committed by Dr. Stephen Henson
Browse files

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: default avatarGeoff Thorpe <geoff@openssl.org>
(cherry picked from commit 647f360e)
parent 00e86a74
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -698,7 +698,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)
	{
@@ -706,7 +706,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)
	{