diff options
author | David Goulet <dgoulet@torproject.org> | 2016-08-25 14:52:25 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2016-08-25 14:52:28 -0400 |
commit | 9e1cb3660b007e26ea84175d3695b2791c4cbd87 (patch) | |
tree | 2688b2ef5e0c2d28d12f36b0c655360881f7c1b5 /src/test/test_oos.c | |
parent | 90bcfa2274a7b95bd4ff76b1c5c05e05cb8e571f (diff) | |
download | tor-9e1cb3660b007e26ea84175d3695b2791c4cbd87.tar.gz tor-9e1cb3660b007e26ea84175d3695b2791c4cbd87.zip |
Fix duplicated if condition in connection.c
Furthermore, fix a test that could returned an uninitialized value.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test/test_oos.c')
-rw-r--r-- | src/test/test_oos.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_oos.c b/src/test/test_oos.c index 9451c5c537..3afb68b27a 100644 --- a/src/test/test_oos.c +++ b/src/test/test_oos.c @@ -67,7 +67,7 @@ static int pick_oos_mock_last_n = 0; static smartlist_t * pick_oos_victims_mock(int n) { - smartlist_t *l; + smartlist_t *l = NULL; int i; ++pick_oos_mock_calls; |