mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-18 03:56:15 +02:00
fix uninitialized variable in metadata.pm (#3860)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12325 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
95a0dee6f2
commit
a4d916c9b5
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user