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

[lintian] 04/04: c/files: Remove useless sort



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

nthykier pushed a commit to branch master
in repository lintian.

commit 6a94b84c316b4bf653c0a9f2a1d91043c53a2fba
Author: Niels Thykier <niels@thykier.net>
Date:   Fri Apr 29 20:08:43 2016 +0000

    c/files: Remove useless sort
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/files.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/checks/files.pm b/checks/files.pm
index 856ca4a..5b8d26d 100644
--- a/checks/files.pm
+++ b/checks/files.pm
@@ -290,7 +290,7 @@ sub run {
     }
 
     # find out which files are scripts
-    my %script = map {$_ => 1} (sort keys %{$info->scripts});
+    my %script = map {$_ => 1} (keys %{$info->scripts});
 
     # We only want to warn about these once.
     my $warned_debug_name = 0;

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


Reply to: