aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-01-02 15:45:48 -0500
committerNick Mathewson <nickm@torproject.org>2019-01-02 15:45:52 -0500
commit968235ce6f2beed984d0a4290cb30a45fb04ad5d (patch)
tree0b8cd2891e1914b5224b233a4f5f9da71e34df21 /src
parentc11247e957ae8e3fb253aac86196dcef13dac92c (diff)
downloadtor-968235ce6f2beed984d0a4290cb30a45fb04ad5d.tar.gz
tor-968235ce6f2beed984d0a4290cb30a45fb04ad5d.zip
Explicitly ignore check_result() result in test_voting_flags_minimal
Otherwise, coverity complains at is.
Diffstat (limited to 'src')
-rw-r--r--src/test/test_voting_flags.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test/test_voting_flags.c b/src/test/test_voting_flags.c
index c4c4c7354e..740b96b4c0 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
};
-