From c830105112b8b0ae29f66dc9cd20c02e07bcafa1 Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Mon, 30 Jul 2012 23:23:14 +0200 Subject: [PATCH] [ng] automake: drop unused argument in '&handle_clean' * automake.in (handle_clean): Here, the argument '$makefile'. And remove the now-redundant description of the function. (generate_makefile): Adjust. Signed-off-by: Stefano Lattarini --- automake.in | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/automake.in b/automake.in index 6519a7776..4bfe71b71 100644 --- a/automake.in +++ b/automake.in @@ -3874,13 +3874,8 @@ sub handle_user_recursion () } } -# handle_clean() -# -------------- -# Handle all 'clean' targets. -sub handle_clean ($) +sub handle_clean () { - my ($makefile) = @_; - my (%f, %d); my @fkeys = keys %clean_files; @@ -6825,7 +6820,7 @@ sub generate_makefile ($$) # $(BUILT_SOURCES), and related stuff. verbatim ('common-targets'); - handle_clean ($makefile); + handle_clean (); handle_factored_dependencies; # Comes last, because all the above procedures may have -- 2.47.2