Przeglądaj źródła

Get rid of an unused parameter warning on win

Sebastian Hahn 14 lat temu
rodzic
commit
bed79c47f4
1 zmienionych plików z 2 dodań i 0 usunięć
  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);