automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [PATCH 7/7] [ng] cleanup: unused variable in the automake


From: Stefano Lattarini
Subject: [Automake-NG] [PATCH 7/7] [ng] cleanup: unused variable in the automake script removed
Date: Wed, 6 Jun 2012 00:21:07 +0200

* automake.in ($output_header): Remove.
(initialize_per_input): Don't reset it.
(generate_makefile): Don't use its content when creating the output
Makefile: it was always empty anyway.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 automake.in |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/automake.in b/automake.in
index d65ebf6..a0c6724 100644
--- a/automake.in
+++ b/automake.in
@@ -517,7 +517,6 @@ my $output_deps_greatest_timestamp;
 # These variables are used when generating each Makefile.in.
 # They hold the Makefile.in until it is ready to be printed.
 my $output_vars;
-my $output_header;
 my $output_verbatim;
 my $output_rules;
 my $output_trailer;
@@ -645,7 +644,6 @@ sub initialize_per_input ()
     $output_deps_greatest_timestamp = 0;
 
     $output_vars = '';
-    $output_header = '';
     $output_verbatim = '';
     $output_rules = '';
     $output_trailer = '';
@@ -7516,7 +7514,6 @@ sub generate_makefile ($$)
 
   # We make sure that 'all:' is the first target.
   my $output = $output_vars .
-               $output_header .
                $output_verbatim .
                $output_checks .
                $output_rules .
-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]