aboutsummaryrefslogtreecommitdiff
path: root/openssl/util/mkerr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'openssl/util/mkerr.pl')
-rw-r--r--openssl/util/mkerr.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/openssl/util/mkerr.pl b/openssl/util/mkerr.pl
index aec401c77..ee23a8291 100644
--- a/openssl/util/mkerr.pl
+++ b/openssl/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)
{