summaryrefslogtreecommitdiff
path: root/dh_gencontrol
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-02-18 08:09:53 +0000
committerNiels Thykier <niels@thykier.net>2018-02-18 08:09:58 +0000
commit0bbd3503ce8cb10f3c88079a90eced86a3d12f5e (patch)
tree9c2078c7739ec5a177e2a9978a89d2f5b6e0b78d /dh_gencontrol
parentf8d7a6ead49e747430124bcea4b55ba05157d4b4 (diff)
downloaddebhelper-0bbd3503ce8cb10f3c88079a90eced86a3d12f5e.tar.gz
dh_gencontrol: Fix uninitialized value warning
Regression introduced in commit 6d5f3b79c743ee8b466813ea3e62b4d492fc598c. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh_gencontrol')
-rwxr-xr-xdh_gencontrol1
1 files changed, 1 insertions, 0 deletions
diff --git a/dh_gencontrol b/dh_gencontrol
index 22891683..b65ee595 100755
--- a/dh_gencontrol
+++ b/dh_gencontrol
@@ -196,6 +196,7 @@ sub read_dbgsym_migration {
sub read_dbgsym_build_ids {
my $res = read_dbgsym_file('dbgsym-build-ids', @_);
my (%seen, @unique);
+ return '' if not defined($res);
for my $id (split(' ', $res)) {
next if $seen{$id}++;
push(@unique, $id);