From c9dc8ca49bac887eacf4693a957c299913161de6 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Sun, 4 Feb 2024 21:47:09 -0600 Subject: [PATCH] func_create_ff.cpp --- src/func_create_ff.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/func_create_ff.cpp b/src/func_create_ff.cpp index b3f79b6c..ba3b6a3e 100644 --- a/src/func_create_ff.cpp +++ b/src/func_create_ff.cpp @@ -31,6 +31,7 @@ namespace l fuse_file_info_t *ffi_) { int rv; + FileInfo *fi; fs::info_t info; for(auto &tier : branches_) @@ -61,7 +62,7 @@ namespace l continue; } - FileInfo *fi = new FileInfo(rv,fusepath_,ffi_->direct_io); + fi = new FileInfo(rv,fusepath_,ffi_->direct_io); ffi_->fh = reinterpret_cast(fi);