diff --git a/src/ckdb.h b/src/ckdb.h index 71b985b5..e5e1d6f7 100644 --- a/src/ckdb.h +++ b/src/ckdb.h @@ -55,7 +55,7 @@ #define DB_VLOCK "1" #define DB_VERSION "1.0.0" -#define CKDB_VERSION DB_VERSION"-1.078" +#define CKDB_VERSION DB_VERSION"-1.079" #define WHERE_FFL " - from %s %s() line %d" #define WHERE_FFL_HERE __FILE__, __func__, __LINE__ diff --git a/src/ckdb_data.c b/src/ckdb_data.c index deee3f5d..17e3d431 100644 --- a/src/ckdb_data.c +++ b/src/ckdb_data.c @@ -2383,7 +2383,7 @@ void set_block_share_counters() { K_TREE_CTX ctx[1], ctx_ms[1]; K_ITEM *ss_item, ss_look, *ws_item, *wm_item, *ms_item, ms_look; - WORKERSTATUS *workerstatus; + WORKERSTATUS *workerstatus = NULL; SHARESUMMARY *sharesummary, looksharesummary; WORKMARKERS *workmarkers; MARKERSUMMARY *markersummary, lookmarkersummary; diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index 2c04c4af..be709f60 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -3436,7 +3436,7 @@ bool sharesummaries_to_markersummaries(PGconn *conn, WORKMARKERS *workmarkers, PGresult *res; K_TREE_CTX ss_ctx[1], ms_ctx[1]; SHARESUMMARY *sharesummary, looksharesummary; - MARKERSUMMARY *markersummary, lookmarkersummary, *p_markersummary; + MARKERSUMMARY *markersummary, lookmarkersummary, *p_markersummary = NULL; K_ITEM *ss_item, *ss_prev, ss_look, *ms_item, ms_look; K_ITEM *p_ss_item, *p_ms_item; bool ok = false, conned = false; @@ -3865,7 +3865,7 @@ bool _sharesummary_update(PGconn *conn, SHARES *s_row, SHAREERRORS *e_row, K_ITE PGresult *res = NULL; WORKMARKERS *wm; SHARESUMMARY *row, *p_row; - K_ITEM *item, *wm_item, *p_item; + K_ITEM *item, *wm_item, *p_item = NULL; char *ins, *upd; bool ok = false, new = false, p_new = false; char *params[19 + MODIFYDATECOUNT];