]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Get rid of an unused parameter warning on win
authorSebastian Hahn <sebastian@torproject.org>
Tue, 9 Aug 2011 09:00:25 +0000 (11:00 +0200)
committerSebastian Hahn <sebastian@torproject.org>
Sun, 20 Nov 2011 02:02:28 +0000 (03:02 +0100)
This is a backport of bed79c47f4ec0ee72b19e2b81c54131d516d07ef which
accidentally only went into master

src/common/util.c

index de1ca3684d93afd3b11dda8728d757697b29d1a7..7675ede4334d4039f28701927cfd1c7325cfb859 100644 (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);