消除http2中的编译警告
This commit is contained in:
@@ -59,7 +59,7 @@ void load_logging_conf(const char *config)
|
||||
return;
|
||||
}
|
||||
|
||||
static void http2_plugin_timer_gc_cb(evutil_socket_t fd, short what, void * arg)
|
||||
UNUSED static void http2_plugin_timer_gc_cb(evutil_socket_t fd, short what, void * arg)
|
||||
{
|
||||
struct tfe_session_info_t *session_info = (struct tfe_session_info_t *)arg;
|
||||
sess_data_ctx_fini(session_info, NULL, session_info->thread_id);
|
||||
@@ -68,7 +68,7 @@ static void http2_plugin_timer_gc_cb(evutil_socket_t fd, short what, void * arg)
|
||||
static int
|
||||
http2_plugin_init(struct tfe_proxy * proxy)
|
||||
{
|
||||
Http2Plugin *plugin = http2_plugin();
|
||||
UNUSED Http2Plugin *plugin = http2_plugin();
|
||||
|
||||
unsigned int thread_nu = tfe_proxy_get_work_thread_count();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user