headerdep: perlcritic warning
PATCH 2/2 headerdep: perlcritic warning
From: Stephen Hemminger <[email protected]>
Minor perlcritic warning:
headerdep.pl: "return" statement with explicit "undef" at line 84, column 2. See page 199 of PBP. (Severity: 5)
Signed-off-by Stephen Hemminger <[email protected]>
Acked-by WANG Cong <[email protected]>
Cc Michal Marek <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
scripts/headerdep.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
scripts/headerdep.pl renamed from scripts/headerdep.pl~headerdep-perlcritic-warning +1 -2
@@ -80,8 +80,7 @@ sub search { my $path = "$i/$filename"; return $path if -f $path; } - - return undef; + # not found returns undefined } sub parse_all {
_