From 992cc016c9d07fab61701a75a0957dcfda83c77d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 17 Mar 2012 16:10:42 +0100 Subject: [PATCH] Remove argument $cc_regex of is_non_verbose_build(). The global definition is now used. --- bin/blhc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/blhc b/bin/blhc index 993b3e7..d53c7d7 100755 --- a/bin/blhc +++ b/bin/blhc @@ -157,7 +157,7 @@ sub pic_pie_conflict { } sub is_non_verbose_build { - my ($line, $next_line, $cc_regex, $skip_ref) = @_; + my ($line, $next_line, $skip_ref) = @_; if (not ($line =~ /^checking if you want to see long compiling messages\.\.\. no/ or $line =~ /^\s*(?:CC|CCLD)\s+(.+?)$/ @@ -324,7 +324,7 @@ for (my $i = 0; $i < scalar @input; $i++) { my $line = $input[$i]; my $skip = 0; - if (is_non_verbose_build($line, $input[$i + 1], $cc_regex, \$skip)) { + if (is_non_verbose_build($line, $input[$i + 1], \$skip)) { error_non_verbose_build($line); $exit |= 1 << 2; next; -- 2.45.2