浏览代码

Get rid of an unused parameter warning on win

This is a backport of bed79c47f4ec0ee72b19e2b81c54131d516d07ef which
accidentally only went into master
Sebastian Hahn 14 年之前
父节点
当前提交
3dc2a1c62c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      src/common/util.c

+ 2 - 0
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);