From 33fdf8327fe5dafae7acc2e3d280f3349761bf9f Mon Sep 17 00:00:00 2001 From: kanoi Date: Wed, 27 Aug 2014 17:36:04 +1000 Subject: [PATCH] ckdb - uninitialised variables --- src/ckdb.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/ckdb.c b/src/ckdb.c index bd7cb85a..f7039067 100644 --- a/src/ckdb.c +++ b/src/ckdb.c @@ -3601,7 +3601,6 @@ static bool workinfo_age(PGconn *conn, char *workinfoidstr, char *poolinstance, if (conned) PQfinish(conn); -bye: if (ss_already || ss_failed || shares_dumped) { /* If all were already aged, and no shares * then we don't want a message */ @@ -3614,7 +3613,7 @@ bye: shares_dumped); } } - +bye: return ok; } @@ -9218,7 +9217,7 @@ static void *socketer(__maybe_unused void *arg) case CMD_LOGLEVEL: if (!*id) { LOGDEBUG("Listener received loglevel, currently %d", - oldloglevel); + pi->ckp->loglevel); snprintf(reply, sizeof(reply), "%s.%ld.ok.loglevel currently %d", id, now.tv_sec,