[tor-commits] [tor/master] Try to fix test_checkdir windows compilation more

nickm at torproject.org nickm at torproject.org
Wed Nov 5 19:51:27 UTC 2014


commit 4ae729683d3ddd904993f0ecd663922b26594b79
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Nov 5 14:51:17 2014 -0500

    Try to fix test_checkdir windows compilation more
---
 src/test/test_checkdir.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/test/test_checkdir.c b/src/test/test_checkdir.c
index b694fd3..185e5fb 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));



More information about the tor-commits mailing list