X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvcl%2Fldp.c;fp=src%2Fvcl%2Fldp.c;h=0338ce65a21742e55b56f9e53dd6bc9a06819f63;hb=76d14b797c05aa5e7ac9aa9ee99e6b03ee0837db;hp=79e7cf3ee3257830eeec1fbc8b3d48dbd205cb52;hpb=e73c731ad8890d1b64c55e3e9dfb9fc8529624f9;p=vpp.git 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)