From df0d539d04247dbbfcb10c364638df7edaef697e Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 14 Jan 2016 09:21:51 -0800 Subject: [PATCH] Initialize padding to zero. This should prevent some valgrind warnings. --- lib/fuse_lowlevel.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index c5108f7..542d7ae 100755 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2263,6 +2263,7 @@ int fuse_lowlevel_notify_store(struct fuse_chan *ch, fuse_ino_t ino, outarg.nodeid = ino; outarg.offset = offset; outarg.size = size; + outarg.padding = 0; iov[0].iov_base = &out; iov[0].iov_len = sizeof(out); -- 2.30.2