1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-13 10:49:13 +02:00

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;