From fa49e46bb7306e854e342aa99ff81281d74869bd Mon Sep 17 00:00:00 2001 From: Dragos Oancea <dragos@signalwire.com> Date: Tue, 25 Feb 2020 21:34:16 +0000 Subject: [PATCH] [mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open() --- src/mod/formats/mod_vlc/mod_vlc.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mod/formats/mod_vlc/mod_vlc.c b/src/mod/formats/mod_vlc/mod_vlc.c index 783d398c74..48df3c458a 100644 --- a/src/mod/formats/mod_vlc/mod_vlc.c +++ b/src/mod/formats/mod_vlc/mod_vlc.c @@ -683,10 +683,6 @@ static switch_status_t vlc_file_av_open(switch_file_handle_t *handle, const char vlc_file_context_t *acontext = handle->private_info; vlc_video_context_t *vcontext; - if (acontext) { - vcontext = acontext->vcontext; - } - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "VLC open %s for reading\n", acontext->path); vcontext = switch_core_alloc(acontext->pool, sizeof(vlc_video_context_t));