diff --git a/src/fuse_readdir_seq_getdents.icpp b/src/fuse_readdir_seq_getdents.icpp index fce27cfb..846dd6bd 100644 --- a/src/fuse_readdir_seq_getdents.icpp +++ b/src/fuse_readdir_seq_getdents.icpp @@ -23,7 +23,6 @@ _readdir(const Branches::Ptr &branches_, Err err; HashSet names; fs::path rel_filepath; - fs::path abs_dirpath; fuse_msgbuf_t *buf; fuse_dirents_reset(dirents_); @@ -38,8 +37,6 @@ _readdir(const Branches::Ptr &branches_, const auto &branch = *(branches_)[i]; const auto fd = fds_[i]; - int fd; - abs_dirpath = branch.path / rel_dirpath_; fd = fs::open_dir_ro(abs_dirpath);