From f2c8265c8ec144678267bbe8f2c6edf99b363b65 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Tue, 13 Feb 2024 23:45:38 -0600 Subject: [PATCH] fuse_getattr.cpp --- src/fuse_getattr.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/fuse_getattr.cpp b/src/fuse_getattr.cpp index 3ef3468a..2e0e5475 100644 --- a/src/fuse_getattr.cpp +++ b/src/fuse_getattr.cpp @@ -98,6 +98,8 @@ namespace l FollowSymlinks const followsymlinks_) struct stat *st_) { + int rv; + switch(followsymlinks_) { case FollowSymlinks::ENUM::NEVER: @@ -119,6 +121,8 @@ namespace l rv = fs::lstat(fullpath,st_); break; } + + return rv; } static