diff options
Diffstat (limited to 'src/dispatch.c')
-rw-r--r-- | src/dispatch.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/dispatch.c b/src/dispatch.c index 69a8555..1abfef5 100644 --- a/src/dispatch.c +++ b/src/dispatch.c @@ -726,9 +726,7 @@ static void client_write(struct plugin_state *state, struct dispatch_client *client) { ssize_t count; - int32_t len, nlen; - int last; - char *query; + int32_t len; struct dispatch_client_data client_data; /* Try to send some of the pending data. */ @@ -799,10 +797,6 @@ dispatch_service_client(struct plugin_state *state, struct dispatch_client *client, struct pollfd *fd) { - ssize_t count; - int32_t len, nlen; - int last; - char *query; switch (client->client_state) { case client_reading: if (fd->revents & POLLIN) { @@ -831,12 +825,9 @@ void * dispatch_thread(struct wrapped_thread *t) { struct dispatch_client *clients, *client, *next, **list; - struct dispatch_client_data client_data; struct plugin_state *state = wrap_thread_arg(t); - struct request_info *request_info; struct pollfd *fds; int i, n_fds, client_count; - ssize_t count; bool_t stop; clients = NULL; |