commit 968235ce6f2beed984d0a4290cb30a45fb04ad5d Author: Nick Mathewson nickm@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 }; -
tor-commits@lists.torproject.org