From 029fd96690a8b3082bf1020b6f8d4060d01ed632 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 11 Nov 2011 09:45:03 +0100 Subject: [PATCH] xbps-bin: state_cb.c: initialize var to silence a warning. --- bin/xbps-bin/state_cb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/xbps-bin/state_cb.c b/bin/xbps-bin/state_cb.c index 5ad76837..01491d93 100644 --- a/bin/xbps-bin/state_cb.c +++ b/bin/xbps-bin/state_cb.c @@ -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) {