aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_checkdir.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-11-05 14:51:17 -0500
committerNick Mathewson <nickm@torproject.org>2014-11-05 14:51:17 -0500
commit4ae729683d3ddd904993f0ecd663922b26594b79 (patch)
treeee8af5c23ceef2f3cefab776e134cb5b3f0fa40b /src/test/test_checkdir.c
parentbb54d008c25206f5746aba5b522460e90d641a91 (diff)
downloadtor-4ae729683d3ddd904993f0ecd663922b26594b79.tar.gz
tor-4ae729683d3ddd904993f0ecd663922b26594b79.zip
Try to fix test_checkdir windows compilation more
Diffstat (limited to 'src/test/test_checkdir.c')
-rw-r--r--src/test/test_checkdir.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index b694fd3b9d..185e5fbef1 100644
--- a/src/test/test_checkdir.c
+++ b/src/test/test_checkdir.c
@@ -70,6 +70,7 @@ test_checkdir_perms(void *testdata)
testdir = get_datadir_fname("checkdir_exists_none");
cpd_chkopts = CPD_CREATE;
unix_create_opts = 0700;
+ (void)unix_create_opts;
unix_verify_optsmask = 0077;
tt_int_op(0, ==, mkdir(testdir, unix_create_opts));
tt_int_op(0, ==, check_private_dir(testdir, cpd_chkopts, NULL));