From 7f5d43e158048fc660c676e58eff123b8d19d375 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Fri, 10 Aug 2012 10:58:53 +0200 Subject: [PATCH] automake: remove an unused variable * automake.in ($canonical_location): This. (scan_autoconf_traces): Don't initialize it. Signed-off-by: Stefano Lattarini --- automake.in | 5 ----- 1 file changed, 5 deletions(-) diff --git a/automake.in b/automake.in index e32b761..1a94c04 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') { -- 2.7.4