diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-10 19:20:15 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-13 10:35:12 -0700 |
commit | 7ce1166b0a3fb0969ba6164c610cc49b52f58f2f (patch) | |
tree | 989a3accaba6140c3b8a3aae78cea6a21fe73661 /lib | |
parent | 3ff500f9f25a37616ee69d2f876ac087c728895b (diff) |
Use NULL for option processing function where possible.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_lowlevel.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index d10191b..d07eed5 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2631,15 +2631,6 @@ void fuse_lowlevel_help(void) " -o clone_fd clone fuse device file descriptors\n\n"); } -static int fuse_ll_opt_proc(void *data, const char *arg, int key, - struct fuse_args *outargs) -{ - (void) data; (void) outargs; (void) key; (void) arg; - - /* Passthrough unknown options */ - return 1; -} - void fuse_session_destroy(struct fuse_session *se) { struct fuse_ll_pipe *llp; @@ -2846,7 +2837,7 @@ struct fuse_session *fuse_session_new(struct fuse_args *args, mo = parse_mount_opts(args); if (mo == NULL) goto out2; - if(fuse_opt_parse(args, se, fuse_ll_opts, fuse_ll_opt_proc) == -1) + if(fuse_opt_parse(args, se, fuse_ll_opts, NULL) == -1) goto out3; if (args->argc != 1) { int i; |