Get rid of an unused parameter warning on win

This is a backport of bed79c47f4 which
accidentally only went into master
This commit is contained in:
Sebastian Hahn 2011-08-09 11:00:25 +02:00
parent 6ef44b7849
commit 3dc2a1c62c

View File

@ -1698,6 +1698,8 @@ check_private_dir(const char *dirname, cpd_check_t check,
struct passwd *pw = NULL;
uid_t running_uid;
gid_t running_gid;
#else
(void)effective_user;
#endif
tor_assert(dirname);