Commit b60986c8 authored by Youness Alaoui's avatar Youness Alaoui

return FALSE on g_error timers because new gcc refuses to compile without a...

return FALSE on g_error timers because new gcc refuses to compile without a return value from these functions
parent 7ada79ef
......@@ -76,6 +76,8 @@ static gboolean timer_cb (gpointer pointer)
/* note: should not be reached, abort */
g_error ("ERROR: test has got stuck, aborting...");
return FALSE;
}
static gboolean quit_loop_cb (gpointer pointer)
......
......@@ -78,6 +78,8 @@ static gboolean timer_cb (gpointer pointer)
/* note: should not be reached, abort */
g_error ("ERROR: test has got stuck, aborting...");
return FALSE;
}
static void cb_nice_recv (NiceAgent *agent, guint stream_id, guint component_id, guint len, gchar *buf, gpointer user_data)
......
......@@ -144,6 +144,8 @@ static gboolean timer_cb (gpointer pointer)
/* note: should not be reached, abort */
g_error ("ERROR: test has got stuck, aborting...");
return FALSE;
}
static void cb_writable (NiceAgent*agent, guint stream_id, guint component_id)
......
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