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

This commit is contained in:
Dragos Oancea authored and Andrey Volk committed 2019-12-31 00:57:48 +04:00
1 parent 459627dee2
commit 3d52d2a9ca
1 file changed
-3
-3
View File
@@ -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);