From 696b05e031989193c2ee0543a341939168c6f484 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 16 Aug 2008 17:00:50 +0000 Subject: [PATCH] fix uninitialized variable in metadata.pm (#3860) SVN-Revision: 12325 --- scripts/metadata.pm | 1 + 1 file changed, 1 insertion(+) 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;