libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit f8cfc4f89f7b36394a733b462badd6d8b7f21495
parent 5cc484923aef7a9223b6ecf39aa34fd4d4cbf116
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Sat, 29 Oct 2016 18:46:04 +0300

Removed unused variables

Diffstat:
Msrc/microhttpd/daemon.c | 3---
1 file changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c @@ -1449,9 +1449,7 @@ thread_main_handle_connection (void *data) #else /* ! HAVE_POLL */ const _MHD_bool use_poll = 0; #endif /* ! HAVE_POLL */ - _MHD_bool was_suspended; - was_suspended = 0; while ( (MHD_YES != daemon->shutdown) && (MHD_CONNECTION_CLOSED != con->state) ) { @@ -3948,7 +3946,6 @@ static MHD_THRD_RTRN_TYPE_ MHD_THRD_CALL_SPEC_ MHD_select_thread (void *cls) { struct MHD_Daemon *daemon = cls; - struct MHD_Connection *pos; while (MHD_YES != daemon->shutdown) {