diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-10 10:58:53 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-08-10 10:58:53 +0200 |
commit | 7f5d43e158048fc660c676e58eff123b8d19d375 (patch) | |
tree | 53593231080db38eaf8884eaf6053f42525f798e /automake.in | |
parent | 6fd3e230c4251df977c43365129ead24e275dff5 (diff) | |
download | automake-7f5d43e158048fc660c676e58eff123b8d19d375.tar.gz |
automake: remove an unused variable
* automake.in ($canonical_location): This.
(scan_autoconf_traces): Don't initialize it.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'automake.in')
-rw-r--r-- | automake.in | 5 |
1 files changed, 0 insertions, 5 deletions
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') { |