Get rid of an unused parameter warning on win

This commit is contained in:
Sebastian Hahn 2011-08-09 11:00:25 +02:00
parent 0a5338e03c
commit bed79c47f4

View File

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