diff --git a/plugin/protocol/http2/src/http2_plugin.cpp b/plugin/protocol/http2/src/http2_plugin.cpp index db88d66..2827ebd 100644 --- a/plugin/protocol/http2/src/http2_plugin.cpp +++ b/plugin/protocol/http2/src/http2_plugin.cpp @@ -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();