From: Dragos Oancea Date: Thu, 14 Nov 2019 07:28:23 +0000 (+0000) Subject: [core] scan-build: Dead assignment. Value stored to 'p' is never read X-Git-Tag: v1.10.2^2~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3d52d2a9ca397b84c4c4f2fddf79cbe90c5db041;p=thirdparty%2Ffreeswitch.git [core] scan-build: Dead assignment. Value stored to 'p' is never read --- diff --git a/src/switch_stun.c b/src/switch_stun.c index b60a3cd5ea..6149ac3dc3 100644 --- a/src/switch_stun.c +++ b/src/switch_stun.c @@ -884,9 +884,6 @@ SWITCH_DECLARE(switch_status_t) switch_stun_ip_lookup(char **external_ip, const stun_port = (switch_port_t)iport; } } - else { - p = stun_ip; - } switch_find_local_ip(ip_buf, sizeof(ip_buf), NULL, AF_INET);