[lintian] 01/01: html_reports: Fix use uninitialize values
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository lintian.
commit a4f672ed51aeb0536de7f2136c2c6688cdb92f64
Author: Niels Thykier <niels@thykier.net>
Date: Sun Jan 24 09:57:55 2016 +0000
html_reports: Fix use uninitialize values
Signed-off-by: Niels Thykier <niels@thykier.net>
---
reporting/html_reports | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/reporting/html_reports b/reporting/html_reports
index d2bf079..f1128e4 100755
--- a/reporting/html_reports
+++ b/reporting/html_reports
@@ -424,7 +424,8 @@ sub collect_statistics {
$count{$tag->{code}}++;
}
if (@$tags) {
- $sources_ref->{$source}{$version} = $tags->[0]->{xref};
+ $sources_ref->{$source}{$version}
+ = $tags->[0]->{pkg_info}{xref};
}
}
$qa_list_ref->{$source} = \%count;
@@ -438,7 +439,7 @@ sub collect_statistics {
foreach (@{$by_tag{$tag}}) {
if ($_->{code} ne 'O') {
$count++;
- $seen_tags{$_->{xref}}++;
+ $seen_tags{$_->{pkg_info}{xref}}++;
} else {
$overrides++;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git
Reply to: