From 2e77833641934da8ca0f7c2ee172190ea43df903 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 11 Jun 2012 11:16:12 +0200 Subject: s3: Fix Coverity ID 703870 Uninitialized scalar variable According to man 2 recvmsg this might be unnecessary, but it does not hurt either Signed-off-by: Jeremy Allison --- source3/modules/vfs_aio_fork.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3/modules') diff --git a/source3/modules/vfs_aio_fork.c b/source3/modules/vfs_aio_fork.c index cc13a9bd1c..4be21f7d97 100644 --- a/source3/modules/vfs_aio_fork.c +++ b/source3/modules/vfs_aio_fork.c @@ -145,6 +145,7 @@ static ssize_t read_fd(int fd, void *ptr, size_t nbytes, int *recvfd) msg.msg_name = NULL; msg.msg_namelen = 0; + msg.msg_flags = 0; iov[0].iov_base = (void *)ptr; iov[0].iov_len = nbytes; -- cgit