[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 03/03: L::Util: Update variable references in a comment



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 5753596069bd64c85b60ef80931d805f8f6fc517
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jan 7 13:27:10 2017 +0000

    L::Util: Update variable references in a comment
---
 lib/Lintian/Util.pm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/Lintian/Util.pm b/lib/Lintian/Util.pm
index c166e30..b8fa900 100644
--- a/lib/Lintian/Util.pm
+++ b/lib/Lintian/Util.pm
@@ -1412,11 +1412,11 @@ sub normalize_pkg_path {
     # Add all segments to the queue
     @queue = split(m,/,o, $path);
 
-    # Loop through @dc and modify @cc so that in the
-    # end of the loop, @cc will contain the path that
-    # - note that @cc will be empty if we end in the
-    # root (e.g. '/' + 'usr' + '..' -> '/'), this is
-    # fine.
+    # Loop through @queue and modify @normalised so that in the end of
+    # the loop, @normalised will contain the path that.
+    #
+    # Note that @normalised will be empty if we end in the root
+    # (e.g. '/' + 'usr' + '..' -> '/'), this is fine.
     while (my $target = shift(@queue)) {
         if ($target eq '..') {
             # are we out of bounds?

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: