diff --git a/ngx_rtmp_init.c b/ngx_rtmp_init.c index 988b1ec..303a593 100644 --- a/ngx_rtmp_init.c +++ b/ngx_rtmp_init.c @@ -234,13 +234,11 @@ ngx_rtmp_close_session_handler(ngx_event_t *e) { ngx_rtmp_session_t *s; ngx_connection_t *c; - ngx_rtmp_core_main_conf_t *cmcf; ngx_rtmp_core_srv_conf_t *cscf; s = e->data; c = s->connection; - cmcf = ngx_rtmp_get_module_main_conf(s, ngx_rtmp_core_module); cscf = ngx_rtmp_get_module_srv_conf(s, ngx_rtmp_core_module); ngx_log_debug0(NGX_LOG_DEBUG_RTMP, c->log, 0, "close session");