summaryrefslogtreecommitdiff
path: root/pkgtools/pkglint
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-08-30 06:50:37 +0000
committerrillig <rillig@pkgsrc.org>2008-08-30 06:50:37 +0000
commit8ed880b8d63992462b4c70ef10fc908a7d5ca067 (patch)
treed2ca3d870b802796c20d0c785e903beafc3965f5 /pkgtools/pkglint
parentcc5d43295a9080e57ff1da31ad382352c21139e2 (diff)
downloadpkgsrc-8ed880b8d63992462b4c70ef10fc908a7d5ca067.tar.gz
Fixed a typo found by Eric Haszlakiewicz.
Diffstat (limited to 'pkgtools/pkglint')
-rw-r--r--pkgtools/pkglint/files/pkglint.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgtools/pkglint/files/pkglint.pl b/pkgtools/pkglint/files/pkglint.pl
index a68762addf1..9cbfb472ff5 100644
--- a/pkgtools/pkglint/files/pkglint.pl
+++ b/pkgtools/pkglint/files/pkglint.pl
@@ -1,5 +1,5 @@
#! @PERL@
-# $NetBSD: pkglint.pl,v 1.771 2008/08/28 20:38:39 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.772 2008/08/30 06:50:37 rillig Exp $
#
# pkglint - static analyzer and checker for pkgsrc packages
@@ -5858,7 +5858,7 @@ sub checkline_mk_varassign($$$$$) {
# If the variable is not used and is untyped, it may be a
# spelling mistake.
if ($op eq ":=" && $varname eq lc($varname)) {
- $opt_warn_unchecked and $line->log_warning("${varname} might be unused unless it is an argument to a procedure file.");
+ $opt_debug_unchecked and $line->log_debug("${varname} might be unused unless it is an argument to a procedure file.");
# TODO: check $varname against the list of "procedure files".
} elsif (!var_is_used($varname)) {