Browse Source

ckdb - remove unused variables in SS_to_MS

master
kanoi 9 years ago
parent
commit
92c841c980
  1. 5
      src/ckdb_dbio.c

5
src/ckdb_dbio.c

@ -3578,8 +3578,6 @@ bool sharesummaries_to_markersummaries(PGconn *conn, WORKMARKERS *workmarkers,
bool ok = false, conned = false; bool ok = false, conned = false;
int64_t diffacc, shareacc; int64_t diffacc, shareacc;
char *reason = NULL; char *reason = NULL;
char *params[2];
int n, par = 0;
int ss_count, ms_count; int ss_count, ms_count;
char *st = NULL; char *st = NULL;
@ -3753,9 +3751,6 @@ rollback:
PQclear(res); PQclear(res);
flail: flail:
for (n = 0; n < par; n++)
free(params[n]);
if (conned) if (conned)
PQfinish(conn); PQfinish(conn);

Loading…
Cancel
Save