From f905c83504667d1359a4851c3ab4ebe99f966f76 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 21 Feb 2024 20:09:02 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index f78c7d7e..dfd93df6 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -143,7 +143,9 @@ namespace l for(int c = 0; c < 2; c++) { - std::stringc const *basepath = cache.find(fusepath_); + std::stringc const *basepath; + + basepath = cache.find(fusepath_); if(i == NULL) { rv = searchFunc_(branches_,fusepath_,&basepaths);