From: Felix Fietkau Date: Sat, 16 Aug 2008 17:00:50 +0000 (+0000) Subject: fix uninitialized variable in metadata.pm (#3860) X-Git-Tag: reboot~25775 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=696b05e031989193c2ee0543a341939168c6f484;p=openwrt%2Fstaging%2Fpepe2k.git fix uninitialized variable in metadata.pm (#3860) SVN-Revision: 12325 --- diff --git a/scripts/metadata.pm b/scripts/metadata.pm index fd18b18a29..a527d68f8f 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -54,6 +54,7 @@ sub parse_package_metadata($) { $srcpackage{$src} = []; undef $pkg; }; + next unless $src; /^Package:\s*(.+?)\s*$/ and do { $pkg = {}; $pkg->{src} = $src;