From: Stefano Lattarini Date: Tue, 5 Jun 2012 22:04:23 +0000 (+0200) Subject: [ng] cleanup: unused variable in the automake script removed X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddc05a1f8013cecc1276414c50a7142272240ba4;p=thirdparty%2Fautomake.git [ng] cleanup: unused variable in the automake script removed * 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 --- diff --git a/automake.in b/automake.in index d65ebf69f..a0c6724ba 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 .