refactor
This commit is contained in:
parent
144683d7b3
commit
5ac2a24611
@ -350,7 +350,7 @@ auto fuse_base::mount(std::vector<std::string> args) -> int {
|
|||||||
struct fuse_args fa = FUSE_ARGS_INIT(static_cast<int>(fuse_argv.size()),
|
struct fuse_args fa = FUSE_ARGS_INIT(static_cast<int>(fuse_argv.size()),
|
||||||
(char **)&fuse_argv[0]);
|
(char **)&fuse_argv[0]);
|
||||||
|
|
||||||
char *mount_location = nullptr;
|
char *mount_location{nullptr};
|
||||||
#if FUSE_USE_VERSION >= 30
|
#if FUSE_USE_VERSION >= 30
|
||||||
struct fuse_cmdline_opts opts {};
|
struct fuse_cmdline_opts opts {};
|
||||||
fuse_parse_cmdline(&fa, &opts);
|
fuse_parse_cmdline(&fa, &opts);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user