summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier CrĂȘte <olivier.crete@collabora.com>2017-04-04 12:29:29 -0400
committerOlivier CrĂȘte <olivier.crete@collabora.com>2017-04-04 12:29:29 -0400
commit0672758b9621801c8f0d9e3c920370983b267a68 (patch)
tree7fd87c047e3ed40064f540e954e04a13b646d10d
parent0de1657e4d15d4f1911ab1fad84ea23e7013070f (diff)
downloadlibnice-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.c1
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;
}