summaryrefslogtreecommitdiff
path: root/pjsip/src/test-pjsip/test.c
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2006-09-19 13:32:05 +0000
committerBenny Prijono <bennylp@teluu.com>2006-09-19 13:32:05 +0000
commitcf81bc0a2ab2947f4a2c5c5fd20bc77ea5611947 (patch)
tree2ea86dae54330dac06f88a6542be4d58b15c95cb /pjsip/src/test-pjsip/test.c
parent6f0c45ca34575b68017a174e63014bcf18a99763 (diff)
Fixed misc compilation warnings (mostly about unused variables)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@728 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/test-pjsip/test.c')
-rw-r--r--pjsip/src/test-pjsip/test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/pjsip/src/test-pjsip/test.c b/pjsip/src/test-pjsip/test.c
index 2eecf83f..502f049b 100644
--- a/pjsip/src/test-pjsip/test.c
+++ b/pjsip/src/test-pjsip/test.c
@@ -219,11 +219,14 @@ int test_main(void)
pj_status_t rc;
pj_caching_pool caching_pool;
const char *filename;
- unsigned i, tsx_test_cnt=0;
+ unsigned tsx_test_cnt=0;
struct tsx_test_param tsx_test[10];
pj_status_t status;
+#if INCLUDE_TSX_TEST
+ unsigned i;
pjsip_transport *tp;
pjsip_tpfactory *tpfactory;
+#endif
int line;
pj_log_set_level(log_level);