mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 19:40:08 +00:00
sofia-lib: Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia)
This commit is contained in:
parent
ab02493b9d
commit
92cd095006
@ -550,7 +550,7 @@ int nea_server_shutdown(nea_server_t *nes,
|
|||||||
int retry_after)
|
int retry_after)
|
||||||
{
|
{
|
||||||
nea_sub_t *s;
|
nea_sub_t *s;
|
||||||
int status = 200;
|
// int status = 200;
|
||||||
int in_callback;
|
int in_callback;
|
||||||
|
|
||||||
if (nes == NULL)
|
if (nes == NULL)
|
||||||
@ -577,7 +577,7 @@ int nea_server_shutdown(nea_server_t *nes,
|
|||||||
TAG_IF(retry_after, NEATAG_RETRY_AFTER(retry_after)),
|
TAG_IF(retry_after, NEATAG_RETRY_AFTER(retry_after)),
|
||||||
TAG_END());
|
TAG_END());
|
||||||
else
|
else
|
||||||
status = 180;
|
//status = 180;
|
||||||
}
|
}
|
||||||
|
|
||||||
nes->nes_in_callback = in_callback;
|
nes->nes_in_callback = in_callback;
|
||||||
|
@ -1879,14 +1879,14 @@ int nua_registration_process_request(nua_registration_t *list,
|
|||||||
nta_incoming_t *irq,
|
nta_incoming_t *irq,
|
||||||
sip_t const *sip)
|
sip_t const *sip)
|
||||||
{
|
{
|
||||||
sip_call_id_t *i;
|
//sip_call_id_t *i;
|
||||||
nua_registration_t *nr;
|
nua_registration_t *nr;
|
||||||
|
|
||||||
if (!outbound_targeted_request(sip))
|
if (!outbound_targeted_request(sip))
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
/* Process by outbound... */
|
/* Process by outbound... */
|
||||||
i = sip->sip_call_id;
|
//i = sip->sip_call_id;
|
||||||
|
|
||||||
for (nr = list; nr; nr = nr->nr_next) {
|
for (nr = list; nr; nr = nr->nr_next) {
|
||||||
outbound_t *ob = nr->nr_ob;
|
outbound_t *ob = nr->nr_ob;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user