summaryrefslogtreecommitdiff
path: root/pjsip/src/test/inv_offer_answer_test.c
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2009-04-28 19:38:43 +0000
committerNanang Izzuddin <nanang@teluu.com>2009-04-28 19:38:43 +0000
commit7a0ee1a7208ddfe8575d1f1179f66fda2fa99339 (patch)
treea21e4846fd4d08aa06d2f5424cf52042d6d1d9e1 /pjsip/src/test/inv_offer_answer_test.c
parentcd00a93db99d842d8fcadb60aeb20ba47b4b4165 (diff)
Ticket #706: Merged branch vs-reorg2 into trunk:
- Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC. - Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries. - Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2660 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test/inv_offer_answer_test.c')
-rw-r--r--pjsip/src/test/inv_offer_answer_test.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/pjsip/src/test/inv_offer_answer_test.c b/pjsip/src/test/inv_offer_answer_test.c
index 22809ddf..419a9ee3 100644
--- a/pjsip/src/test/inv_offer_answer_test.c
+++ b/pjsip/src/test/inv_offer_answer_test.c
@@ -194,6 +194,8 @@ static void on_rx_offer(pjsip_inv_session *inv,
{
pjmedia_sdp_session *sdp;
+ PJ_UNUSED_ARG(offer);
+
sdp = create_sdp(inv->dlg->pool, oa_sdp[inv_test.oa_index].answer);
pjsip_inv_set_sdp_answer(inv, sdp);
@@ -210,12 +212,17 @@ static void on_rx_offer(pjsip_inv_session *inv,
static void on_create_offer(pjsip_inv_session *inv,
pjmedia_sdp_session **p_offer)
{
+ PJ_UNUSED_ARG(inv);
+ PJ_UNUSED_ARG(p_offer);
+
pj_assert(!"Should not happen");
}
static void on_media_update(pjsip_inv_session *inv_ses,
pj_status_t status)
{
+ PJ_UNUSED_ARG(status);
+
if (inv_ses == inv_test.uas) {
inv_test.uas_update_cnt++;
pj_assert(inv_test.uas_update_cnt - inv_test.uac_update_cnt <= 1);
@@ -257,6 +264,8 @@ static void on_state_changed(pjsip_inv_session *inv, pjsip_event *e)
{
const char *who = NULL;
+ PJ_UNUSED_ARG(e);
+
if (inv->state == PJSIP_INV_STATE_DISCONNECTED) {
TRACE_((THIS_FILE, " %s call disconnected",
(inv==inv_test.uas ? "Callee" : "Caller")));
@@ -611,12 +620,17 @@ static inv_test_param_t test_params[] =
static pjsip_dialog* on_dlg_forked(pjsip_dialog *first_set, pjsip_rx_data *res)
{
+ PJ_UNUSED_ARG(first_set);
+ PJ_UNUSED_ARG(res);
+
return NULL;
}
static void on_new_session(pjsip_inv_session *inv, pjsip_event *e)
{
+ PJ_UNUSED_ARG(inv);
+ PJ_UNUSED_ARG(e);
}