]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] cleanup: remove unused private variables in Automake::Variable
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 24 May 2012 09:12:04 +0000 (11:12 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 24 May 2012 09:12:48 +0000 (11:12 +0200)
* lib/Automake/Variable.pm ($_VARIABLE_CHARACTERS, $_VARIABLE_PATTERN,
$_VARIABLE_RECURSIVE_PATTERN): Remove, they have been unneeded and
unused since commit 'v1.11-1779-g9a82dcd' of 2012-01-23, "[ng] vars:
don't warn about non-POSIX names or GNU make function calls".

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/Automake/Variable.pm

index 6ed112c4ce086cb34c18bfad9e60970cb92f976e..7f1643db4450d7cea489742ed65e758bf749a220 100644 (file)
@@ -130,11 +130,6 @@ non-object).
 
 =cut
 
-my $_VARIABLE_CHARACTERS = '[.A-Za-z0-9_@]+';
-my $_VARIABLE_PATTERN = '^' . $_VARIABLE_CHARACTERS . "\$";
-my $_VARIABLE_RECURSIVE_PATTERN =
-    '^([.A-Za-z0-9_@]|\$[({]' . $_VARIABLE_CHARACTERS . '[})]?)+' . "\$";
-
 # The order in which variables should be output.  (May contain
 # duplicates -- only the first occurrence matters.)
 my @_var_order;