diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2017-04-04 12:29:29 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2017-04-04 12:29:29 -0400 |
commit | 0672758b9621801c8f0d9e3c920370983b267a68 (patch) | |
tree | 7fd87c047e3ed40064f540e954e04a13b646d10d | |
parent | 0de1657e4d15d4f1911ab1fad84ea23e7013070f (diff) | |
download | libnice-0672758b9621801c8f0d9e3c920370983b267a68.tar.gz |
agent: Don't set variable that won't be used
It exits the loop immediately, so no point to set the variable.
And it makes the clang static analyzer happy.
-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 4d9381c..8ba99bc 100644 --- a/agent/agent.c +++ b/agent/agent.c @@ -4245,7 +4245,6 @@ nice_agent_recv_messages_blocking_or_nonblocking (NiceAgent *agent, "Component removed during call."); component = NULL; - error_reported = TRUE; goto recv_error; } |