From 5fda351d371a7c359987289053c62ef7a7f0ff36 Mon Sep 17 00:00:00 2001 From: kanoi Date: Fri, 22 Aug 2014 23:25:51 +1000 Subject: [PATCH] ckdb - remove stupid gcc warning --- src/ckdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ckdb.c b/src/ckdb.c index 7028c9f8..70493376 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3967,7 +3967,7 @@ static bool _sharesummary_update(PGconn *conn, SHARES *s_row, SHAREERRORS *e_row char *by, char *code, char *inet, tv_t *cd, WHERE_FFL_ARGS) { ExecStatusType rescode; - PGresult *res; + PGresult *res = NULL; SHARESUMMARY *row; K_ITEM *item; char *ins, *upd;