Commit 6d8a0c84 authored by Kai Vehmanen's avatar Kai Vehmanen

Fix issues generating compiler warnings from gcc-3.4 in fullmode unit test.

darcs-hash:20070720213445-77cd4-695f9286da686d398220be84e3fc0c2533e1ca93.gz
parent 6d22d854
......@@ -149,7 +149,7 @@ static void cb_new_selected_pair(NiceAgent *agent, guint stream_id, guint compon
++global_ragent_cands;
/* XXX: dear compiler, these are for you: */
(void)agent; (void)stream_id; (void)component_id;
(void)agent; (void)stream_id; (void)component_id; (void)lfoundation; (void)rfoundation;
}
static void cb_new_candidate(NiceAgent *agent, guint stream_id, guint component_id,
......@@ -158,7 +158,7 @@ static void cb_new_candidate(NiceAgent *agent, guint stream_id, guint component_
g_debug ("test-fullmode:%s: %p", __func__, data);
/* XXX: dear compiler, these are for you: */
(void)agent; (void)stream_id; (void)data; (void)component_id;
(void)agent; (void)stream_id; (void)data; (void)component_id; (void)foundation;
}
static void cb_initial_binding_request_received(NiceAgent *agent, guint stream_id, gpointer data)
......@@ -203,6 +203,9 @@ static int run_full_test (NiceAgent *lagent, NiceAgent *ragent, NiceAddress *bas
GSList *cands;
guint ls_id, rs_id;
/* XXX: dear compiler, this is for you */
(void)baseaddr;
/* step: initialize variables modified by the callbacks */
global_components_ready = 0;
global_components_ready_exit = 4;
......@@ -317,6 +320,9 @@ static int run_full_test_wrong_password (NiceAgent *lagent, NiceAgent *ragent, N
GSList *cands, *i;
guint ls_id, rs_id;
/* XXX: dear compiler, this is for you */
(void)baseaddr;
global_components_ready = 0;
global_components_ready_exit = 2;
global_components_failed = 0;
......@@ -421,6 +427,9 @@ static int run_full_test_control_conflict (NiceAgent *lagent, NiceAgent *ragent,
GSList *cands, *i;
guint ls_id, rs_id;
/* XXX: dear compiler, this is for you */
(void)baseaddr;
global_components_ready = 0;
global_components_ready_exit = 2;
global_components_failed = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment