[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
1 changed files with 0 additions and 3 deletions

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);