diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-10-09 17:05:32 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-10-09 17:17:21 -0400 |
commit | 382f44be40fd7b2d3588302d0075287f80a61714 (patch) | |
tree | 8a4bfd4507663b976e5f6803732cabd7a218993d /agent/agent.c | |
parent | 39ff48d40fdf7a5795ac30c7dfccab23c1995c9c (diff) | |
download | libnice-382f44be40fd7b2d3588302d0075287f80a61714.tar.gz |
agent: Remove extra post condition
It prevent the GError from happening
Diffstat (limited to 'agent/agent.c')
-rw-r--r-- | agent/agent.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |