]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'ip' is never read - switch_core_media_recover_ses...
authorDragos Oancea <dragos@signalwire.com>
Thu, 13 Feb 2020 19:04:59 +0000 (19:04 +0000)
committerAndrey Volk <andywolk@gmail.com>
Fri, 6 Mar 2020 15:33:46 +0000 (19:33 +0400)
src/switch_core_media.c

index dadc63fd8fc988efa678c8c7587bcf74902cea09..1f6834388ef65bb4712923ae575abb28f17c3691 100644 (file)
@@ -13974,7 +13974,6 @@ SWITCH_DECLARE (void) switch_core_media_recover_session(switch_core_session_t *s
                v_engine->cur_payload_map->rm_fmtp = (char *) switch_channel_get_variable(session->channel, "rtp_use_video_codec_fmtp");
                v_engine->codec_negotiated = 1;
 
-               ip = switch_channel_get_variable(session->channel, SWITCH_LOCAL_VIDEO_IP_VARIABLE);
                port = switch_channel_get_variable(session->channel, SWITCH_LOCAL_VIDEO_PORT_VARIABLE);
                r_ip = switch_channel_get_variable(session->channel, SWITCH_REMOTE_VIDEO_IP_VARIABLE);
                r_port = switch_channel_get_variable(session->channel, SWITCH_REMOTE_VIDEO_PORT_VARIABLE);