1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00

Fix some warnings in Linux

This commit is contained in:
bel
2015-07-03 23:11:20 +02:00
parent 72b3d3deb2
commit fc76a4fa7e
3 changed files with 5 additions and 2 deletions

View File

@@ -1572,6 +1572,8 @@ static void lua_websocket_close(struct mg_connection *conn, void *ws_arg)
/* TODO: Delete lua_websock_data and remove it from the websocket list.
This must only be done, when all connections are closed, and all
asynchronous operations and timers are completed/expired. */
(void)shared_websock_list; /* shared_websock_list unused (see open TODO) */
(void)pthread_mutex_unlock(&ws->ws_mutex);
}
#endif