[tor-commits] [tor/master] Explicitly ignore check_result() result in test_voting_flags_minimal

nickm at torproject.org nickm at torproject.org
Wed Jan 2 20:46:05 UTC 2019


commit 968235ce6f2beed984d0a4290cb30a45fb04ad5d
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Jan 2 15:45:48 2019 -0500

    Explicitly ignore check_result() result in test_voting_flags_minimal
    
    Otherwise, coverity complains at is.
---
 src/test/test_voting_flags.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/test_voting_flags.c b/src/test/test_voting_flags.c
index c4c4c7354..740b96b4c 100644
--- a/src/test/test_voting_flags.c
+++ b/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
 };
-



More information about the tor-commits mailing list