Commit d5cbc21a authored by Nick Mathewson's avatar Nick Mathewson 🤹
Browse files

Fix an unused-variable warning

parent 0a276947
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2056,13 +2056,13 @@ int
check_private_dir(const char *dirname, cpd_check_t check,
                  const char *effective_user)
{
  int fd;
  int r;
  struct stat st;

  tor_assert(dirname);

#ifndef _WIN32
  int fd;
  unsigned unwanted_bits = 0;
  const struct passwd *pw = NULL;
  uid_t running_uid;