bin/xbps-query/show-deps.c: initialize a var to make gcc-4.6 happy.
This commit is contained in:
parent
8f25116d54
commit
83c981884c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user