diff --git a/src/fuse_create.cpp b/src/fuse_create.cpp index 81468998..2640326a 100644 --- a/src/fuse_create.cpp +++ b/src/fuse_create.cpp @@ -298,12 +298,12 @@ namespace FUSE uint64_t x = combine(cfg->passthrough,ffi_->flags); switch(x) { - default: - return rv; case combine(PassthroughEnum::ro,O_RDONLY): case combine(PassthroughEnum::wo,O_WRONLY): case combine(PassthroughEnum::rw,O_RDWR): return l::passthrough(fc,ffi_); } + + return rv; } }