diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-08-09 11:00:25 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2011-11-20 03:02:28 +0100 |
commit | 3dc2a1c62cf01218f1a1afc03e54b0b2b52046e7 (patch) | |
tree | 0ce433f68700a22834defa32500235312834d6ba /src/common | |
parent | 6ef44b78495403552ca4f6808656bd95a7813c58 (diff) | |
download | tor-3dc2a1c62cf01218f1a1afc03e54b0b2b52046e7.tar tor-3dc2a1c62cf01218f1a1afc03e54b0b2b52046e7.tar.gz |
Get rid of an unused parameter warning on win
This is a backport of bed79c47f4ec0ee72b19e2b81c54131d516d07ef which
accidentally only went into master
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/util.c b/src/common/util.c index de1ca3684..7675ede43 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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); |