[2/2] headerdep: perlcritic warning
diff mbox

Message ID 201003112205.o2BM5FpL013289@imap1.linux-foundation.org
State New, archived
Headers show

Commit Message

Andrew Morton March 11, 2010, 10:05 p.m. UTC
None

Patch
diff mbox

diff -puN scripts/headerdep.pl~headerdep-perlcritic-warning scripts/headerdep.pl
--- a/scripts/headerdep.pl~headerdep-perlcritic-warning
+++ a/scripts/headerdep.pl
@@ -80,8 +80,7 @@  sub search {
 		my $path = "$i/$filename";
 		return $path if -f $path;
 	}
-
-	return undef;
+	# not found returns undefined
 }
 
 sub parse_all {