}
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+(.+?)$/
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;