From a4d916c9b5433b0076acedf3f7be0621f447138b Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 16 Aug 2008 17:00:50 +0000 Subject: [PATCH] fix uninitialized variable in metadata.pm (#3860) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12325 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- scripts/metadata.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/metadata.pm b/scripts/metadata.pm index fd18b18a2..a527d68f8 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; -- 2.20.1