summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/ldp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/ldp.c b/src/vcl/ldp.c
index 79e7cf3ee32..0338ce65a21 100644
--- a/src/vcl/ldp.c
+++ b/src/vcl/ldp.c
@@ -1894,7 +1894,7 @@ recvmsg (int fd, struct msghdr * msg, int flags)
{
struct iovec *iov = msg->msg_iov;
ssize_t max_deq, total = 0;
- int i, rv;
+ int i, rv = 0;
max_deq = vls_attr (vlsh, VPPCOM_ATTR_GET_NREAD, 0, 0);
if (!max_deq)