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/txdata_test.c b/pjsip/src/test-pjsip/txdata_test.c
index da90906..dc13276 100644
--- a/pjsip/src/test-pjsip/txdata_test.c
+++ b/pjsip/src/test-pjsip/txdata_test.c
@@ -337,6 +337,7 @@
  * This test demonstrate the bug as reported in:
  *  http://bugzilla.pjproject.net/show_bug.cgi?id=49
  */
+#if INCLUDE_GCC_TEST
 static int gcc_test()
 {
     char msgbuf[512];
@@ -400,6 +401,7 @@
     pjsip_tx_data_dec_ref(tdata);
     return 0;
 }
+#endif
 
 
 /* This tests the request creating functions against the following