diff options
author | Gleb Popov <6yearold@gmail.com> | 2025-06-25 14:39:02 +0300 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-06-27 00:19:26 +0200 |
commit | 4de3db413cb419829203d614fda1cea8fe7e0c57 (patch) | |
tree | a4ccd2d7720ee09322d4390c21342be39b60f3d6 /example | |
parent | 1bb2f2a08e6808a5d48ac57a6ebb422620d587c4 (diff) | |
download | libfuse-4de3db413cb419829203d614fda1cea8fe7e0c57.tar.gz |
passthrough_hp: Fix unused function warning
Signed-off-by: Gleb Popov <6yearold@gmail.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/passthrough_hp.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/passthrough_hp.cc b/example/passthrough_hp.cc index e5edc1b..ecd8625 100644 --- a/example/passthrough_hp.cc +++ b/example/passthrough_hp.cc @@ -967,6 +967,7 @@ static void sfs_create(fuse_req_t req, fuse_ino_t parent, const char *name, fuse_reply_create(req, &e, fi); } +#ifdef O_TMPFILE static Inode *create_new_inode(int fd, fuse_entry_param *e) { memset(e, 0, sizeof(*e)); @@ -1012,7 +1013,6 @@ static Inode *create_new_inode(int fd, fuse_entry_param *e) return p_inode; } -#ifdef O_TMPFILE static void sfs_tmpfile(fuse_req_t req, fuse_ino_t parent, mode_t mode, fuse_file_info *fi) { |