Commit f06c0cb3 authored by Philip Withnall's avatar Philip Withnall

socket: Remove dead code

At that point, (len > 0), since there are conditions above handling the
(len == 0) and (len < 0) cases, both of which break from the loop.

Coverity issue: #29325
parent 38351e4a
......@@ -261,9 +261,6 @@ socket_recv_messages (NiceSocket *sock,
if (recv_messages[i].from)
*recv_messages[i].from = priv->remote_addr;
if (len <= 0)
break;
}
/* Was there an error processing the first message? */
......
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