bin/xbps-query/show-deps.c: initialize a var to make gcc-4.6 happy.

This commit is contained in:
Juan RP 2014-10-04 22:08:07 +02:00
parent 8f25116d54
commit 83c981884c

View File

@ -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);