From 92c841c980a21d0be730b7acb093302b5807412f Mon Sep 17 00:00:00 2001 From: kanoi Date: Tue, 22 Sep 2015 11:34:36 +1000 Subject: [PATCH] ckdb - remove unused variables in SS_to_MS --- src/ckdb_dbio.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/ckdb_dbio.c b/src/ckdb_dbio.c index a5de06e1..f77abd57 100644 --- a/src/ckdb_dbio.c +++ b/src/ckdb_dbio.c @@ -3578,8 +3578,6 @@ bool sharesummaries_to_markersummaries(PGconn *conn, WORKMARKERS *workmarkers, bool ok = false, conned = false; int64_t diffacc, shareacc; char *reason = NULL; - char *params[2]; - int n, par = 0; int ss_count, ms_count; char *st = NULL; @@ -3753,9 +3751,6 @@ rollback: PQclear(res); flail: - for (n = 0; n < par; n++) - free(params[n]); - if (conned) PQfinish(conn);