Browse Source

Explicitly ignore check_result() result in test_voting_flags_minimal

Otherwise, coverity complains at is.
Nick Mathewson 6 years ago
parent
commit
968235ce6f
1 changed files with 1 additions and 2 deletions
  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
 };
-