Skip to content

Commit 129a161

Browse files
committed
Merge branch 'master' of github.com:arut/nginx-rtmp-module
2 parents abc2704 + a4d55c0 commit 129a161

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

ngx_rtmp_enotify_module.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -243,14 +243,11 @@ static ngx_int_t
243243
ngx_rtmp_enotify_exec(ngx_rtmp_session_t *s, ngx_rtmp_enotify_conf_t *ec)
244244
{
245245
#ifndef NGX_WIN32
246-
ngx_rtmp_enotify_ctx_t *ctx;
247246
int pid;
248247
ngx_str_t a, *arg;
249248
char **args;
250249
ngx_uint_t n;
251250

252-
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_enotify_module);
253-
254251
pid = fork();
255252

256253
switch (pid) {

ngx_rtmp_notify_module.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,14 +341,12 @@ ngx_rtmp_notify_done_create(ngx_rtmp_session_t *s, void *arg,
341341
{
342342
ngx_rtmp_notify_done_t *ds = arg;
343343

344-
ngx_rtmp_notify_app_conf_t *nacf;
345344
ngx_chain_t *hl, *cl, *pl;
346345
ngx_buf_t *b;
347346
size_t cbname_len, name_len, args_len;
348347
ngx_str_t *addr_text;
349348
ngx_rtmp_notify_ctx_t *ctx;
350349

351-
nacf = ngx_rtmp_get_module_app_conf(s, ngx_rtmp_notify_module);
352350
ctx = ngx_rtmp_get_module_ctx(s, ngx_rtmp_notify_module);
353351

354352
/* common variables */

0 commit comments

Comments
 (0)