Remove unused variable

This commit is contained in:
Sebastian Messmer 2022-12-18 18:02:52 +01:00
parent c039629721
commit 2e42c43415

View File

@ -88,7 +88,6 @@ void CryNode::rename(const bf::path &to) {
throw FuseErrnoException(EBUSY);
}
vector<BlockId> targetAncestors;
auto targetParentAndAncestors = _device->LoadDirBlobWithAncestors(to.parent_path(), [&] (const BlockId& ancestorId) {
if (ancestorId == _blockId) {
// We are trying to move a node into one of its subdirectories. This is not allowed.