]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[mod_vlc] scan-build: Value stored to 'vcontext' is never read - vlc_file_av_open() 430/head
authorDragos Oancea <dragos@signalwire.com>
Tue, 25 Feb 2020 21:34:16 +0000 (21:34 +0000)
committerDragos Oancea <dragos@signalwire.com>
Tue, 25 Feb 2020 21:34:16 +0000 (21:34 +0000)
src/mod/formats/mod_vlc/mod_vlc.c

index 783d398c74e0045d47435feed5195d15fd8a5a0c..48df3c458a616d7446891bdee5aa863b7927b7c5 100644 (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));