diff options
author | Felix Fietkau <nbd@openwrt.org> | 2008-08-16 17:00:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2008-08-16 17:00:50 +0000 |
commit | 696b05e031989193c2ee0543a341939168c6f484 (patch) | |
tree | d89c5e38e77a36a92d6e395003895e4bda6bc6d6 /scripts/metadata.pm | |
parent | 1bdd7d046004f7526ac42ebba3b3c2b6fd6974ea (diff) | |
download | upstream-696b05e031989193c2ee0543a341939168c6f484.tar.gz upstream-696b05e031989193c2ee0543a341939168c6f484.tar.bz2 upstream-696b05e031989193c2ee0543a341939168c6f484.zip |
fix uninitialized variable in metadata.pm (#3860)
SVN-Revision: 12325
Diffstat (limited to 'scripts/metadata.pm')
-rw-r--r-- | scripts/metadata.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/metadata.pm b/scripts/metadata.pm index fd18b18a29..a527d68f8f 100644 --- a/scripts/metadata.pm +++ b/scripts/metadata.pm @@ -54,6 +54,7 @@ sub parse_package_metadata($) { $srcpackage{$src} = []; undef $pkg; }; + next unless $src; /^Package:\s*(.+?)\s*$/ and do { $pkg = {}; $pkg->{src} = $src; |