]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Try to fix test_checkdir windows compilation more
authorNick Mathewson <nickm@torproject.org>
Wed, 5 Nov 2014 19:51:17 +0000 (14:51 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 5 Nov 2014 19:51:17 +0000 (14:51 -0500)
src/test/test_checkdir.c

index b694fd3b9d446cf38b19ced0a04e5e8521ef6f38..185e5fbef127c400f431215ff25003df447ba13e 100644 (file)
@@ -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));