diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-11 10:26:28 +0200 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2017-08-11 10:32:39 +0200 |
commit | 8771b17229c0b19f74789455913b10c1c5eaa320 (patch) | |
tree | b16744198971dc7b0355cb4688249c37dae5dacc /lib | |
parent | 9578a512a6a668d42978bbc98f48fb36b0bd7f12 (diff) |
Fix unused variable warnings under FreeBSD.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fuse_lowlevel.c | 1 | ||||
-rw-r--r-- | lib/mount_bsd.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c index 34bff00..ff7de82 100644 --- a/lib/fuse_lowlevel.c +++ b/lib/fuse_lowlevel.c @@ -2978,6 +2978,7 @@ out_free: */ int fuse_req_getgroups(fuse_req_t req, int size, gid_t list[]) { + (void) req; (void) size; (void) list; return -ENOSYS; } #endif diff --git a/lib/mount_bsd.c b/lib/mount_bsd.c index 31b41de..5962e64 100644 --- a/lib/mount_bsd.c +++ b/lib/mount_bsd.c @@ -108,6 +108,7 @@ unsigned get_max_read(struct mount_opts *o) static int fuse_mount_opt_proc(void *data, const char *arg, int key, struct fuse_args *outargs) { + (void) outargs; struct mount_opts *mo = data; switch (key) { @@ -125,8 +126,6 @@ static int fuse_mount_opt_proc(void *data, const char *arg, int key, void fuse_kern_unmount(const char *mountpoint, int fd) { - char *ep, dev[128]; - struct stat sbuf; unmount(mountpoint, MNT_FORCE); close(fd); } |