[core] scan-build: Dead assignment. Value stored to 'p' is never read
This commit is contained in:
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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue