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:

committed by
Damjan Marion

parent
e73c731ad8
commit
76d14b797c
@ -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)
|
||||
|
Reference in New Issue
Block a user