aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-17 09:27:40 -0500
committerNick Mathewson <nickm@torproject.org>2018-12-17 09:27:40 -0500
commitf50558ce8ce33339b86ac642d92a27430e066d62 (patch)
tree79a078649a450946e0f2a51e518a8aa0051b09e1 /src
parent82fb40c8dc2f21753298559e79d898add80bf6b7 (diff)
downloadtor-f50558ce8ce33339b86ac642d92a27430e066d62.tar.gz
tor-f50558ce8ce33339b86ac642d92a27430e066d62.zip
Fix dead-assignment warning in test_shared_random.c
Diffstat (limited to 'src')
-rw-r--r--src/test/test_shared_random.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_shared_random.c b/src/test/test_shared_random.c
index 433661f128..16e28afafe 100644
--- a/src/test/test_shared_random.c
+++ b/src/test/test_shared_random.c
@@ -309,6 +309,7 @@ test_get_start_time_of_current_run(void *arg)
retval = parse_rfc1123_time("Mon, 19 Apr 2015 23:00:00 UTC",
&mock_consensus.valid_after);
+ tt_int_op(retval, OP_EQ, 0);
retval = parse_rfc1123_time("Mon, 20 Apr 2015 00:08:00 UTC",
&current_time);