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} = [];
undef $pkg;
};
next unless $src;
/^Package:\s*(.+?)\s*$/ and do {
$pkg = {};
$pkg->{src} = $src;