Commit edcbc597 authored by Olivier Crête's avatar Olivier Crête
Browse files

conncheck: Remove useless return value on conn_check_prune_stream

parent 891ce53e
......@@ -1443,7 +1443,7 @@ void conn_check_free (NiceAgent *agent)
*
* @return TRUE on success, FALSE on a fatal error
*/
gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream)
void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
{
CandidateCheckPair *pair;
GSList *i;
......@@ -1464,12 +1464,6 @@ gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream)
if (!stream->conncheck_list)
conn_check_free (agent);
/* return FALSE if there was a memory allocation failure */
if (stream->conncheck_list == NULL && i != NULL)
return FALSE;
return TRUE;
}
/*
......
......@@ -87,7 +87,7 @@ void conn_check_free_item (gpointer data, gpointer user_data);
void conn_check_free (NiceAgent *agent);
gboolean conn_check_schedule_next (NiceAgent *agent);
int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair);
gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream);
void conn_check_prune_stream (NiceAgent *agent, Stream *stream);
gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream, Component *component, NiceSocket *udp_socket, const NiceAddress *from, gchar *buf, guint len);
gint conn_check_compare (const CandidateCheckPair *a, const CandidateCheckPair *b);
void conn_check_remote_candidates_set(NiceAgent *agent);
......
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