Commit 3dc2a1c6 authored by Sebastian Hahn's avatar Sebastian Hahn
Browse files

Get rid of an unused parameter warning on win

This is a backport of bed79c47 which
accidentally only went into master
parent 6ef44b78
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);