Commit ef29131c authored by Simon Morlat's avatar Simon Morlat
Browse files

fix unused variable

parent e8d63aa3
...@@ -302,7 +302,6 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){ ...@@ -302,7 +302,6 @@ LinphoneAddress *guess_contact_for_register(LinphoneProxyConfig *obj){
#ifdef BUILD_UPNP #ifdef BUILD_UPNP
if (obj->lc->upnp != NULL && linphone_core_get_firewall_policy(obj->lc)==LinphonePolicyUseUpnp && if (obj->lc->upnp != NULL && linphone_core_get_firewall_policy(obj->lc)==LinphonePolicyUseUpnp &&
linphone_upnp_context_get_state(obj->lc->upnp) == LinphoneUpnpStateOk) { linphone_upnp_context_get_state(obj->lc->upnp) == LinphoneUpnpStateOk) {
LCSipTransports tr;
localip = linphone_upnp_context_get_external_ipaddress(obj->lc->upnp); localip = linphone_upnp_context_get_external_ipaddress(obj->lc->upnp);
localport = linphone_upnp_context_get_external_port(obj->lc->upnp); localport = linphone_upnp_context_get_external_port(obj->lc->upnp);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment