@@ -61,7 +61,7 @@ if( $^O eq "msys" )
61
61
}
62
62
63
63
# Constants
64
- our $lcov_version = ' LCOV version 1.11 pre (CVS $Revision: 1.119 $)' ;
64
+ our $lcov_version = ' LCOV version 1.11 pre (CVS $Revision: 1.120 $)' ;
65
65
our $lcov_url = " http://ltp.sourceforge.net/coverage/lcov.php" ;
66
66
our $gcov_tool = " gcov" ;
67
67
our $tool_name = basename($0 );
@@ -864,7 +864,6 @@ sub process_dafile($$)
864
864
my $source ; # gcov source header information
865
865
my $object ; # gcov object header information
866
866
my @matches ; # List of absolute paths matching filename
867
- my @unprocessed ; # List of unprocessed source code files
868
867
my $base_dir ; # Base directory for current file
869
868
my @tmp_links ; # Temporary links to be cleaned up
870
869
my @result ;
@@ -1060,7 +1059,6 @@ sub process_dafile($$)
1060
1059
1061
1060
# Traverse the list of generated .gcov files and combine them into a
1062
1061
# single .info file
1063
- @unprocessed = keys (%{$instr });
1064
1062
foreach $gcov_file (sort (@gcov_list ))
1065
1063
{
1066
1064
my $i ;
@@ -1143,16 +1141,6 @@ sub process_dafile($$)
1143
1141
\@matches , \@gcov_content );
1144
1142
}
1145
1143
1146
- # Remove processed file from list
1147
- for ($index = scalar (@unprocessed ) - 1; $index >= 0; $index --)
1148
- {
1149
- if ($unprocessed [$index ] eq $source_filename )
1150
- {
1151
- splice (@unprocessed , $index , 1);
1152
- last ;
1153
- }
1154
- }
1155
-
1156
1144
# Skip external files if requested
1157
1145
if (!$opt_external ) {
1158
1146
if (is_external($source_filename )) {
@@ -1297,16 +1285,6 @@ sub process_dafile($$)
1297
1285
unlink ($gcov_file );
1298
1286
}
1299
1287
1300
- # Check for files which show up in the graph file but were never
1301
- # processed
1302
- if (@unprocessed && @gcov_list )
1303
- {
1304
- foreach (@unprocessed )
1305
- {
1306
- warn (" WARNING: no data found for $_ \n " );
1307
- }
1308
- }
1309
-
1310
1288
if (!($output_filename && ($output_filename eq " -" )))
1311
1289
{
1312
1290
close (INFO_HANDLE);
0 commit comments