1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-27 17:55:55 +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:
nbd 2008-08-16 17:00:50 +00:00
parent 95a0dee6f2
commit a4d916c9b5

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;