[mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open()

This commit is contained in:
Dragos Oancea 2020-02-25 21:34:16 +00:00
parent 42d3100609
commit fa49e46bb7
1 changed files with 0 additions and 4 deletions

View File

@ -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));