forked from Mirrors/freeswitch
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)
|
||||
{
|
||||
nea_sub_t *s;
|
||||
int status = 200;
|
||||
// int status = 200;
|
||||
int in_callback;
|
||||
|
||||
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_END());
|
||||
else
|
||||
status = 180;
|
||||
//status = 180;
|
||||
}
|
||||
|
||||
nes->nes_in_callback = in_callback;
|
||||
|
@ -1879,14 +1879,14 @@ int nua_registration_process_request(nua_registration_t *list,
|
||||
nta_incoming_t *irq,
|
||||
sip_t const *sip)
|
||||
{
|
||||
sip_call_id_t *i;
|
||||
//sip_call_id_t *i;
|
||||
nua_registration_t *nr;
|
||||
|
||||
if (!outbound_targeted_request(sip))
|
||||
return 0;
|
||||
|
||||
/* Process by outbound... */
|
||||
i = sip->sip_call_id;
|
||||
//i = sip->sip_call_id;
|
||||
|
||||
for (nr = list; nr; nr = nr->nr_next) {
|
||||
outbound_t *ob = nr->nr_ob;
|
||||
|
Loading…
Reference in New Issue
Block a user