sofia-lib: Fix for -Wunused-but-set-variable required compiler. (Might need to…

sofia-lib: Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia)
上级 ab02493b
......@@ -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;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论