From 382f44be40fd7b2d3588302d0075287f80a61714 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 9 Oct 2014 17:05:32 -0400 Subject: agent: Remove extra post condition It prevent the GError from happening --- agent/agent.c | 1 - 1 file changed, 1 deletion(-) (limited to 'agent/agent.c') diff --git a/agent/agent.c b/agent/agent.c index 886d5ec..8e821ae 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -3931,7 +3931,6 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent, g_return_val_if_fail (stream_id >= 1, -1); g_return_val_if_fail (component_id >= 1, -1); g_return_val_if_fail (n_messages == 0 || messages != NULL, -1); - g_return_val_if_fail (n_messages <= G_MAXINT, -1); g_return_val_if_fail ( cancellable == NULL || G_IS_CANCELLABLE (cancellable), -1); g_return_val_if_fail (error == NULL || *error == NULL, -1); -- cgit v1.2.1