Browse Source

Fix unused variable warnings

master
ckolivas 11 years ago
parent
commit
e789416b17
  1. 3
      src/ckpool.c

3
src/ckpool.c

@ -230,7 +230,6 @@ int read_socket_line(connsock_t *cs, int timeout)
char *eom = NULL; char *eom = NULL;
size_t buflen; size_t buflen;
int ret = -1; int ret = -1;
fd_set rd;
if (unlikely(cs->fd < 0)) if (unlikely(cs->fd < 0))
goto out; goto out;
@ -692,6 +691,8 @@ static void sighandler(int sig)
{ {
ckpool_t *ckp = global_ckp; ckpool_t *ckp = global_ckp;
LOGWARNING("Parent process %s received signal %d, shutting down",
ckp->name, sig);
pthread_cancel(ckp->pth_watchdog); pthread_cancel(ckp->pth_watchdog);
join_pthread(ckp->pth_watchdog); join_pthread(ckp->pth_watchdog);

Loading…
Cancel
Save