]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] automake: remove two unused variables from '&handle_texinfo_source'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 16 Jun 2012 18:42:45 +0000 (20:42 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 17 Jun 2012 08:21:23 +0000 (10:21 +0200)
* automake.in (handle_texinfo_source): Remove '$spfx' and '$ssfx'.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in

index a26f00d84aa90d50881016384a1152760a6bc7bf..d65cad0f00b55701577ada3b69e0b158a2f19150 100644 (file)
@@ -2852,11 +2852,8 @@ sub handle_texinfo_source ($$$@)
 {
   my ($source, $dest, $insrc, @deps) = @_;
 
-  # Split 'a.texi' into 'a' and '.texi'.
-  my ($spfx, $ssfx) = ($source =~ /^(.*?)(\.[^.]*)?$/);
   my ($dpfx, $dsfx) = ($dest =~ /^(.*?)(\.[^.]*)?$/);
 
-  $ssfx ||= "";
   $dsfx ||= "";
 
   my $sdir = dirname $source;