pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/pkgtools/pkglint/files Removed unused functions.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6ca5b431932b
branches:  trunk
changeset: 392119:6ca5b431932b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Apr 26 08:44:42 2009 +0000

description:
Removed unused functions.

diffstat:

 pkgtools/pkglint/files/pkglint.pl |  15 +--------------
 1 files changed, 1 insertions(+), 14 deletions(-)

diffs (37 lines):

diff -r db120be2a9df -r 6ca5b431932b pkgtools/pkglint/files/pkglint.pl
--- a/pkgtools/pkglint/files/pkglint.pl Sun Apr 26 05:52:08 2009 +0000
+++ b/pkgtools/pkglint/files/pkglint.pl Sun Apr 26 08:44:42 2009 +0000
@@ -1,5 +1,5 @@
 #! @PERL@
-# $NetBSD: pkglint.pl,v 1.807 2009/04/04 18:36:04 rillig Exp $
+# $NetBSD: pkglint.pl,v 1.808 2009/04/26 08:44:42 rillig Exp $
 #
 
 # pkglint - static analyzer and checker for pkgsrc packages
@@ -50,7 +50,6 @@
        @EXPORT_OK = qw(
                assert
                false true dont_know doesnt_matter
-               min max
                array_to_hash normalize_pathname print_table
        );
 }
@@ -76,18 +75,6 @@
        }
 }
 
-sub min($$) {
-       my ($a, $b) = @_;
-
-       return ($a < $b) ? $a : $b;
-}
-
-sub max($$) {
-       my ($a, $b) = @_;
-
-       return ($a > $b) ? $a : $b;
-}
-
 # Prints the C<$table> on the C<$out> stream. The C<$table> shall be an
 # array of rows, each row shall be an array of cells, and each cell shall
 # be a string.



Home | Main Index | Thread Index | Old Index