]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Dead assignment. Value stored to 'p' is never read
authorDragos Oancea <dragos@signalwire.com>
Thu, 14 Nov 2019 07:28:23 +0000 (07:28 +0000)
committerAndrey Volk <andywolk@gmail.com>
Mon, 30 Dec 2019 20:57:48 +0000 (00:57 +0400)
src/switch_stun.c

index b60a3cd5ea64ddc19ac004fc62f614d2073b649d..6149ac3dc3ea27dd0c807f2bdb9ff6c729377a3f 100644 (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);