1
0
mirror of https://github.com/signalwire/freeswitch.git synced 2025-03-03 17:30:37 +00:00

[core] scan-build: Dead assignment. Value stored to 'p' is never read

This commit is contained in:
Dragos Oancea 2019-11-14 07:28:23 +00:00 committed by Andrey Volk
parent 459627dee2
commit 3d52d2a9ca

@ -884,9 +884,6 @@ SWITCH_DECLARE(switch_status_t) switch_stun_ip_lookup(char **external_ip, const
stun_port = (switch_port_t)iport; stun_port = (switch_port_t)iport;
} }
} }
else {
p = stun_ip;
}
switch_find_local_ip(ip_buf, sizeof(ip_buf), NULL, AF_INET); switch_find_local_ip(ip_buf, sizeof(ip_buf), NULL, AF_INET);