fix uninitialized variable in metadata.pm (#3860)

SVN-Revision: 12325
master
Felix Fietkau 17 years ago
parent 1bdd7d0460
commit 696b05e031
  1. 1
      scripts/metadata.pm

@ -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…
Cancel
Save