[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {maint} automake: remove an unused variable
From: |
Stefano Lattarini |
Subject: |
[FYI] {maint} automake: remove an unused variable |
Date: |
Fri, 10 Aug 2012 11:52:36 +0200 |
* automake.in ($canonical_location): This.
(scan_autoconf_traces): Don't initialize it.
Signed-off-by: Stefano Lattarini <address@hidden>
---
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')
{
--
1.7.12.rc0
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {maint} automake: remove an unused variable,
Stefano Lattarini <=