From 60cf5a0a3c4237eda8b1028d003eab4d41707490 Mon Sep 17 00:00:00 2001 From: Dragos Oancea Date: Thu, 13 Feb 2020 19:04:59 +0000 Subject: [PATCH] [core] scan-build: Value stored to 'ip' is never read - switch_core_media_recover_session() --- src/switch_core_media.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/switch_core_media.c b/src/switch_core_media.c index dadc63fd8f..1f6834388e 100644 --- a/src/switch_core_media.c +++ b/src/switch_core_media.c @@ -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);