aboutsummaryrefslogtreecommitdiff
path: root/lib/mount_bsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mount_bsd.c')
-rw-r--r--lib/mount_bsd.c3
1 files changed, 1 insertions, 2 deletions
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);
}