From: Stefano Lattarini Date: Fri, 10 Aug 2012 08:58:53 +0000 (+0200) Subject: automake: remove an unused variable X-Git-Tag: v1.12.3~14 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f5d43e158048fc660c676e58eff123b8d19d375;p=thirdparty%2Fautomake.git automake: remove an unused variable * automake.in ($canonical_location): This. (scan_autoconf_traces): Don't initialize it. Signed-off-by: Stefano Lattarini --- diff --git a/automake.in b/automake.in index e32b76158..1a94c04b2 100644 --- a/automake.in +++ b/automake.in @@ -370,8 +370,6 @@ my $libtool_new_api = 0; # Most important AC_CANONICAL_* macro seen so far. my $seen_canonical = 0; -# Location of that macro. -my $canonical_location; # Where AM_MAINTAINER_MODE appears. my $seen_maint_mode; @@ -5302,7 +5300,6 @@ sub scan_autoconf_traces ($) if ($seen_canonical <= AC_CANONICAL_BUILD) { $seen_canonical = AC_CANONICAL_BUILD; - $canonical_location = $where; } } elsif ($macro eq 'AC_CANONICAL_HOST') @@ -5310,13 +5307,11 @@ sub scan_autoconf_traces ($) if ($seen_canonical <= AC_CANONICAL_HOST) { $seen_canonical = AC_CANONICAL_HOST; - $canonical_location = $where; } } elsif ($macro eq 'AC_CANONICAL_TARGET') { $seen_canonical = AC_CANONICAL_TARGET; - $canonical_location = $where; } elsif ($macro eq 'AC_CONFIG_AUX_DIR') {