fix uninitialized variable in metadata.pm (#3860)

SVN-Revision: 12325
lede-17.01
Felix Fietkau 2008-08-16 17:00:50 +00:00
parent 1bdd7d0460
commit 696b05e031
1 changed files with 1 additions and 0 deletions

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;