fix uninitialized variable in metadata.pm (#3860)

SVN-Revision: 12325
This commit is contained in:
Felix Fietkau 2008-08-16 17:00:50 +00:00
parent 1bdd7d0460
commit 696b05e031

View File

@ -54,6 +54,7 @@ sub parse_package_metadata($) {
$srcpackage{$src} = []; $srcpackage{$src} = [];
undef $pkg; undef $pkg;
}; };
next unless $src;
/^Package:\s*(.+?)\s*$/ and do { /^Package:\s*(.+?)\s*$/ and do {
$pkg = {}; $pkg = {};
$pkg->{src} = $src; $pkg->{src} = $src;