aboutsummaryrefslogtreecommitdiffstats
path: root/example/memfs_ll.cc
diff options
context:
space:
mode:
authorGleb Popov <6yearold@gmail.com>2025-06-25 14:37:01 +0300
committerBernd Schubert <bernd@bsbernd.com>2025-06-27 00:19:26 +0200
commit1bb2f2a08e6808a5d48ac57a6ebb422620d587c4 (patch)
treeea1412efa1e07d3068871507c0f40eefc7ed42e4 /example/memfs_ll.cc
parent57227e4fb6c1d3ba67d0df60d03ba6f485562978 (diff)
downloadlibfuse-1bb2f2a08e6808a5d48ac57a6ebb422620d587c4.tar.gz
memfs_ll: Fix unused variable warning
Signed-off-by: Gleb Popov <6yearold@gmail.com>
Diffstat (limited to 'example/memfs_ll.cc')
-rw-r--r--example/memfs_ll.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/memfs_ll.cc b/example/memfs_ll.cc
index ad0b187..a1bd054 100644
--- a/example/memfs_ll.cc
+++ b/example/memfs_ll.cc
@@ -910,6 +910,8 @@ static void memfs_rename(fuse_req_t req, fuse_ino_t parent, const char *name,
fuse_reply_err(req, EINVAL);
return;
}
+#else
+ (void)flags;
#endif
Inodes.lock();