[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Get rid of an unused parameter warning on win
commit bed79c47f4ec0ee72b19e2b81c54131d516d07ef
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Tue Aug 9 11:00:25 2011 +0200
Get rid of an unused parameter warning on win
---
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 601f2be..542093f 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -1736,6 +1736,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);
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits