summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pkgtools/pkglint/files/pkglint.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index 637ef40e9de..85ebdc320e9 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.892 2015/10/15 02:09:49 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.893 2015/10/15 03:00:56 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -619,7 +619,7 @@ sub parse_acls($$) {
) (?:\,\s*|$)"x;
if (!defined($acltext)) {
- return;
+ return undef;
}
$acls = [];
@@ -1807,7 +1807,7 @@ sub get_variable_type($$) {
}
$opt_debug_vartypes and $line->log_debug("No type definition found for ${varcanon}.");
- return;
+ return undef;
}
sub get_variable_perms($$) {