Fix compile-time warnings on IGNORE_MTAB
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Tue, 8 May 2018 05:57:00 +0000 (22:57 -0700)
committerNikolaus Rath <Nikolaus@rath.org>
Tue, 8 May 2018 18:36:52 +0000 (19:36 +0100)
commit27a112e86dba7c8d47f2d77ae002b3954ef53116
treed870b3b1645464447fb3b8ed2af673975055d5a0
parentda29b950bc9d204a93706985255a299f1dfea561
Fix compile-time warnings on IGNORE_MTAB

Silence below warnings which appear if IGNORE_MTAB is defined.

[59/64] Compiling C object 'util/fusermount3@exe/fusermount.c.o'.
../util/fusermount.c:493:12: warning: function declaration isn't a prototype [-Wstrict-prototypes]
 static int count_fuse_fs()
            ^~~~~~~~~~~~~
../util/fusermount.c: In function 'unmount_fuse':
../util/fusermount.c:508:46: warning: unused parameter 'quiet' [-Wunused-parameter]
 static int unmount_fuse(const char *mnt, int quiet, int lazy)
                                              ^~~~~
util/fusermount.c