summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authorrillig <rillig>2008-08-30 06:50:37 +0000
committerrillig <rillig>2008-08-30 06:50:37 +0000
commite46c69697861e4ffc16bf62fc75aca94af8dd300 (patch)
treed2ca3d870b802796c20d0c785e903beafc3965f5 /pkgtools
parentfc92926649a31a05853788d26774866461cfb0ec (diff)
downloadpkgsrc-e46c69697861e4ffc16bf62fc75aca94af8dd300.tar.gz
Fixed a typo found by Eric Haszlakiewicz.
Diffstat (limited to 'pkgtools')
-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)) {