From 83c981884cbf0e458f3fd54676bb558440a2e900 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 4 Oct 2014 22:08:07 +0200 Subject: [PATCH] bin/xbps-query/show-deps.c: initialize a var to make gcc-4.6 happy. --- bin/xbps-query/show-deps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-query/show-deps.c b/bin/xbps-query/show-deps.c index a4535278..2361485d 100644 --- a/bin/xbps-query/show-deps.c +++ b/bin/xbps-query/show-deps.c @@ -53,7 +53,7 @@ print_rdeps(struct xbps_handle *xhp, xbps_array_t rdeps, bool full, bool repo) for (unsigned int i = 0; i < xbps_array_count(rdeps); i++) { struct pkgdep *pd; const char *pkgver; - char *vpkg; + char *vpkg = NULL; bool virtual = false, found = false; xbps_array_get_cstring_nocopy(rdeps, i, &curdep);