From: Dragos Oancea Date: Thu, 27 Feb 2020 11:11:40 +0000 (+0000) Subject: [mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle() X-Git-Tag: v1.10.3^2~92^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23ce45fad86fed5983c2780433ebec7f20414e0c;p=thirdparty%2Ffreeswitch.git [mod_vlc] scan-build: Value stored to 'vcontext' is never read - av_init_handle() --- diff --git a/src/mod/formats/mod_vlc/mod_vlc.c b/src/mod/formats/mod_vlc/mod_vlc.c index 00a71ce58d..45d6d19de0 100644 --- a/src/mod/formats/mod_vlc/mod_vlc.c +++ b/src/mod/formats/mod_vlc/mod_vlc.c @@ -597,7 +597,6 @@ static switch_status_t av_init_handle(switch_file_handle_t *handle, switch_image opts[0] = *vlc_args; if (acontext) opts[1] = switch_core_sprintf(acontext->pool, "--sout=%s", acontext->path); - vcontext = acontext->vcontext; pool = acontext->pool;