mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-23 22:34:04 +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} = [];
|
||||
undef $pkg;
|
||||
};
|
||||
next unless $src;
|
||||
/^Package:\s*(.+?)\s*$/ and do {
|
||||
$pkg = {};
|
||||
$pkg->{src} = $src;
|
||||
|
Loading…
Reference in New Issue
Block a user