From 164a928e5ab75feb6adb598b9814635f0df93490 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 26 Jan 2012 11:46:01 +0100 Subject: [PATCH] xbps-bin: do not syslog msgs if disabled due to uninitialized bool. --- 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 51b4d66c..4818eac4 100644 --- a/bin/xbps-bin/state_cb.c +++ b/bin/xbps-bin/state_cb.c @@ -36,7 +36,7 @@ state_cb(const struct xbps_state_cb_data *xscd, void *cbdata) const struct xbps_handle *xhp = xbps_handle_get(); prop_dictionary_t pkgd; const char *version; - bool syslog_enabled; + bool syslog_enabled = false; (void)cbdata;