misc: silence -Wmaybe-uninitialized warnings

GCC 12 complains about such errors while the code itself looks good.

Type: fix
Signed-off-by: Jieqiang Wang <jieqiang.wang@arm.com>
Change-Id: I021719fdbf7d9bd93a12eac76aeac8cbca13a810
This commit is contained in:
Jieqiang Wang
2023-07-24 16:52:06 +08:00
committed by Damjan Marion
parent e73c731ad8
commit 76d14b797c
4 changed files with 4 additions and 4 deletions

View File

@ -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)