[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Fix an unused-variable warning
commit d5cbc21ad1138bb40e636851042a686784e7d786
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
Date: Sat Feb 27 10:20:15 2016 +0100
Fix an unused-variable warning
---
src/common/util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/common/util.c b/src/common/util.c
index 5713235..2bb2c2b 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -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;
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits