mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
socket-util: Suppress valgrind uninitialized use warning.
This commit is contained in:
@@ -222,7 +222,7 @@ int
|
||||
drain_rcvbuf(int fd)
|
||||
{
|
||||
socklen_t rcvbuf_len;
|
||||
size_t rcvbuf;
|
||||
size_t rcvbuf = 0;
|
||||
|
||||
rcvbuf_len = sizeof rcvbuf;
|
||||
if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &rcvbuf, &rcvbuf_len) < 0) {
|
||||
|
Reference in New Issue
Block a user