Fixed misc compilation warnings (mostly about unused variables)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@728 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjsip/src/test-pjsip/tsx_uas_test.c b/pjsip/src/test-pjsip/tsx_uas_test.c
index 42cb075..8124b5a 100644
--- a/pjsip/src/test-pjsip/tsx_uas_test.c
+++ b/pjsip/src/test-pjsip/tsx_uas_test.c
@@ -106,7 +106,7 @@
static char *TEST10_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test10";
static char *TEST11_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test11";
static char *TEST12_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test12";
-static char *TEST13_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test13";
+//static char *TEST13_BRANCH_ID = PJSIP_RFC3261_BRANCH_ID "-UAS-Test13";
#define TEST1_STATUS_CODE 200
#define TEST2_STATUS_CODE 301
@@ -194,7 +194,7 @@
/* General timer entry to be used by tests. */
-static pj_timer_entry timer;
+//static pj_timer_entry timer;
/* Timer to send response via transaction. */
struct response
@@ -313,6 +313,7 @@
pj_mutex_unlock(tsx->mutex);
}
+#if 0 /* Unused for now */
/* Timer callback to terminate transaction. */
static void terminate_tsx_timer( pj_timer_heap_t *timer_heap,
struct pj_timer_entry *entry)
@@ -338,6 +339,7 @@
timer.cb = &terminate_tsx_timer;
pjsip_endpt_schedule_timer(endpt, &timer, &delay);
}
+#endif
/*