소스 검색

Get rid of an unused parameter warning on win

Sebastian Hahn 14 년 전
부모
커밋
bed79c47f4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/common/util.c

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