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