aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-08-16 17:00:50 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-08-16 17:00:50 +0000
commit696b05e031989193c2ee0543a341939168c6f484 (patch)
treed89c5e38e77a36a92d6e395003895e4bda6bc6d6
parent1bdd7d046004f7526ac42ebba3b3c2b6fd6974ea (diff)
downloadupstream-696b05e031989193c2ee0543a341939168c6f484.tar.gz
upstream-696b05e031989193c2ee0543a341939168c6f484.tar.bz2
upstream-696b05e031989193c2ee0543a341939168c6f484.zip
fix uninitialized variable in metadata.pm (#3860)
SVN-Revision: 12325
-rw-r--r--scripts/metadata.pm1
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;