From 7a0ee1a7208ddfe8575d1f1179f66fda2fa99339 Mon Sep 17 00:00:00 2001 From: Nanang Izzuddin Date: Tue, 28 Apr 2009 19:38:43 +0000 Subject: 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 --- pjsip/src/test/inv_offer_answer_test.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'pjsip/src/test/inv_offer_answer_test.c') 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); } -- cgit v1.2.3