xbps-bin: state_cb.c: initialize var to silence a warning.
This commit is contained in:
parent
86f1f18571
commit
029fd96690
@ -32,7 +32,7 @@ void
|
||||
state_cb(struct xbps_state_cb_data *xscd)
|
||||
{
|
||||
prop_dictionary_t pkgd;
|
||||
const char *opkgver, *state_descr, *fetchstr;
|
||||
const char *opkgver, *state_descr = NULL, *fetchstr;
|
||||
char *pkgname;
|
||||
|
||||
if (xscd->desc != NULL && xscd->pkgver == NULL && xscd->err == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user