worker: fixed compiler warning (unnecessary, but warning nonetheless)

This commit is contained in:
Heikki Hannikainen 2012-10-12 22:49:17 +03:00
parent 477e1f0039
commit c7b63a9f1f
1 changed files with 2 additions and 2 deletions

View File

@ -1287,8 +1287,8 @@ static void collect_new_clients(struct worker_t *self)
self->clients = c;
c->prevp = &self->clients;
struct client_t *class_next;
struct client_t **class_prevp;
struct client_t *class_next = NULL;
struct client_t **class_prevp = NULL;
if (c->flags & CLFLAGS_PORT_RO) {
hlog(LOG_DEBUG, "collect_new_clients(worker %d): client fd %d classified readonly", self->id, c->fd);
class_next = self->clients_ro;