From: Volker Lendecke Date: Tue, 22 Aug 2023 07:22:13 +0000 (+0200) Subject: clifuse: Use an empty array for holding the inode path X-Git-Tag: tevent-0.16.0~500 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ae6bdbb157c81f0e8a16dc03788dc930fa8b0f;p=thirdparty%2Fsamba.git clifuse: Use an empty array for holding the inode path Cleaner these days. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/examples/fuse/clifuse.c b/examples/fuse/clifuse.c index 890dae16307..9c1454fe57e 100644 --- a/examples/fuse/clifuse.c +++ b/examples/fuse/clifuse.c @@ -54,7 +54,7 @@ struct mount_state { struct inode_state { struct idr_context *ino_ctx; fuse_ino_t ino; - char path[1]; + char path[]; }; static int inode_state_destructor(struct inode_state *s);