summaryrefslogtreecommitdiff
path: root/pkgtools
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
commit3faf4c63caa0ed2a4fe7eff6a411c25dc3a409f2 (patch)
treed2ca3d870b802796c20d0c785e903beafc3965f5 /pkgtools
parentc963bbc85eac4ead61c1abaed0d2487cc80bf212 (diff)
downloadpkgsrc-3faf4c63caa0ed2a4fe7eff6a411c25dc3a409f2.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)) {