[Dctrl-tools-devel] [SCM] Debian control file query tools branch, master, updated. 2.11-44-gcfdfbce
Antti-Juhani Kaijanaho
ajk at debian.org
Sat Aug 8 08:41:34 UTC 2009
The following commit has been merged in the master branch:
commit cfdfbcefc51b431193de39292cafee1fed5aba55
Author: Antti-Juhani Kaijanaho <ajk at debian.org>
Date: Sat Aug 8 11:41:23 2009 +0300
join-dctrl/join-dctrl.c: Avoid a compiler warning
Signed-off-by: Antti-Juhani Kaijanaho <ajk at debian.org>
diff --git a/debian/changelog b/debian/changelog
index a549164..3891b23 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -15,13 +15,15 @@ dctrl-tools (2.14) UNRELEASED; urgency=low
It never worked, anyway.
Closes: #506138 (Segfault when calling with wrong order of parameters)
Reported by Marco Túlio Gontijo e Silva <marcot at holoscopio.com>.
-
+ * join-dctrl/join-dctrl.c: Avoid a compiler warning by initializing
+ a local variable.
+
[ Stefano Zacchiroli ]
* grep-dctrl: add new matching mode --whole-pkg/-w: it is an improved -e
matching exact package names, i.e., no sub-string matching on package
names. Closes: #383921
- -- Antti-Juhani Kaijanaho <ajk at debian.org> Tue, 06 Jan 2009 20:20:17 +0200
+ -- Antti-Juhani Kaijanaho <ajk at debian.org> Sat, 08 Aug 2009 11:40:34 +0300
dctrl-tools (2.13.0) unstable; urgency=low
diff --git a/join-dctrl/join-dctrl.c b/join-dctrl/join-dctrl.c
index 64d93b8..88d72a2 100644
--- a/join-dctrl/join-dctrl.c
+++ b/join-dctrl/join-dctrl.c
@@ -212,7 +212,7 @@ void print_para_config(struct arguments *args, para_t para[], size_t just_this)
for (size_t i = 0; i < args->num_show_fields; i++) {
struct show_field *sf = &args->show_fields[i];
struct fsaf_read_rv body = { .b = "", .len = 0 };
- const char *showname;
+ const char *showname = NULL;
if (sf->file_inx == -1) {
for (size_t j = 0;
body.len == 0 && j < args->num_fnames;
--
Debian control file query tools
More information about the Dctrl-tools-devel
mailing list