projects
/
platform
/
upstream
/
libnice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38351e4
)
socket: Remove dead code
author
Philip Withnall
<philip.withnall@collabora.co.uk>
Thu, 14 Aug 2014 17:06:43 +0000
(18:06 +0100)
committer
Philip Withnall
<philip.withnall@collabora.co.uk>
Thu, 14 Aug 2014 17:06:43 +0000
(18:06 +0100)
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
socket/tcp-bsd.c
patch
|
blob
|
history
diff --git
a/socket/tcp-bsd.c
b/socket/tcp-bsd.c
index
2cfca53
..
5726e8f
100644
(file)
--- a/
socket/tcp-bsd.c
+++ b/
socket/tcp-bsd.c
@@
-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? */