浏览代码

Explicitly ignore check_result() result in test_voting_flags_minimal

Otherwise, coverity complains at is.
Nick Mathewson 5 年之前
父节点
当前提交
968235ce6f
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/test/test_voting_flags.c

+ 1 - 2
src/test/test_voting_flags.c

@@ -104,7 +104,7 @@ static void
 test_voting_flags_minimal(void *arg)
 {
   flag_vote_test_cfg_t *cfg = arg;
-  check_result(cfg);
+  (void) check_result(cfg);
 }
 
 static void
@@ -189,4 +189,3 @@ struct testcase_t voting_flags_tests[] = {
   T(staledesc, TT_FORK),
   END_OF_TESTCASES
 };
-