xbps-bin: state_cb.c: initialize var to silence a warning.

This commit is contained in:
Juan RP 2011-11-11 09:45:03 +01:00
parent 86f1f18571
commit 029fd96690

View File

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