From fc7964c7abdc2a9d2774773e2b43ae2db36559ff Mon Sep 17 00:00:00 2001 From: kanoi Date: Sun, 14 Sep 2014 11:53:22 +1000 Subject: [PATCH] ckdb - fix uninitialised par --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index 7e5b8c8e..8105d607 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3163,7 +3163,7 @@ static bool useratts_item_add(PGconn *conn, K_ITEM *ua_item, tv_t *cd, bool begu char *upd, *ins; bool ok = false; char *params[9 + HISTORYDATECOUNT]; - int n, par; + int n, par = 0; LOGDEBUG("%s(): add", __func__);