From 088bf6be531eef1d591e645056a6b3db7d6a439e Mon Sep 17 00:00:00 2001 From: Arne Georg Gleditsch Date: Fri, 30 Nov 2007 10:43:57 +0100 Subject: Return empty list if no linkable includes found. --- lib/LXRng/Lang/Generic.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/LXRng/Lang/Generic.pm b/lib/LXRng/Lang/Generic.pm index 29443f4..f44cb62 100644 --- a/lib/LXRng/Lang/Generic.pm +++ b/lib/LXRng/Lang/Generic.pm @@ -17,6 +17,8 @@ sub expand_include { return map { /([^\/].*)/ ? $1 : $_ } @paths; } + + return (); } 1; -- cgit v1.2.3