Fix an unused-variable warning

This commit is contained in:
Nick Mathewson
2016-02-27 10:20:15 +01:00
parent 0a276947ba
commit d5cbc21ad1
+1 -1
View File
@@ -2056,13 +2056,13 @@ int
check_private_dir(const char *dirname, cpd_check_t check,
const char *effective_user)
{
int fd;
int r;
struct stat st;
tor_assert(dirname);
#ifndef _WIN32
int fd;
unsigned unwanted_bits = 0;
const struct passwd *pw = NULL;
uid_t running_uid;