Initialize padding to zero.
authorNikolaus Rath <Nikolaus@rath.org>
Thu, 14 Jan 2016 17:21:51 +0000 (09:21 -0800)
committerNikolaus Rath <Nikolaus@rath.org>
Thu, 14 Jan 2016 17:21:51 +0000 (09:21 -0800)
This should prevent some valgrind warnings.

lib/fuse_lowlevel.c

index 5de0ab8d76fb47c038e2ddc9bf433f3584b99109..ff03c6301aab7039ea8768ffc786d16e54627b11 100644 (file)
@@ -2087,6 +2087,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);