app: Fix warning if building with --disable-userns

This commit is contained in:
Alexander Larsson
2015-12-15 08:44:26 +01:00
parent e9d713cb96
commit 6eea2d4fb1

View File

@@ -40,6 +40,7 @@ static GOptionEntry options[] = {
{ NULL }
};
#ifndef DISABLE_USERNS
static gboolean
write_to_file (int fd, const char *content, ssize_t len)
{
@@ -80,6 +81,7 @@ write_file (const char *path, const char *content)
return res;
}
#endif
static uid_t uid;
static gid_t gid;