浏览代码

Try to fix test_checkdir windows compilation more

Nick Mathewson 11 年之前
父节点
当前提交
4ae729683d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/test/test_checkdir.c

+ 1 - 0
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));