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)
This commit is contained in:
parent
e6a01b47e4
commit
c434f7f80f
@ -788,7 +788,7 @@ foreach (keys %rcodes) {
|
|||||||
push (@runref, $_) unless exists $urcodes{$_};
|
push (@runref, $_) unless exists $urcodes{$_};
|
||||||
}
|
}
|
||||||
|
|
||||||
if($debug && defined(@funref) ) {
|
if($debug && @funref) {
|
||||||
print STDERR "The following function codes were not referenced:\n";
|
print STDERR "The following function codes were not referenced:\n";
|
||||||
foreach(sort @funref)
|
foreach(sort @funref)
|
||||||
{
|
{
|
||||||
@ -796,7 +796,7 @@ if($debug && defined(@funref) ) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if($debug && defined(@runref) ) {
|
if($debug && @runref) {
|
||||||
print STDERR "The following reason codes were not referenced:\n";
|
print STDERR "The following reason codes were not referenced:\n";
|
||||||
foreach(sort @runref)
|
foreach(sort @runref)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user