}
static int rmtree_helper(const char *fpath, const struct stat *sb,
- int typeflag, struct FTW *ftwbuf)
+ int typeflag UNUSED, struct FTW *ftwbuf UNUSED)
{
if (S_ISDIR(sb->st_mode))
{
static uid_t chown_uid;
static gid_t chown_gid;
-static int chowntree_helper(const char *fpath, const struct stat *sb,
- int typeflag, struct FTW *ftwbuf)
+static int chowntree_helper(const char *fpath, const struct stat *sb UNUSED,
+ int typeflag UNUSED, struct FTW *ftwbuf UNUSED)
{
if (lchown(fpath, chown_uid, chown_gid) < 0)
die("Cannot chown %s: %m", fpath);