diff options
Diffstat (limited to 'tests/lib/test_srcdest_table.c')
| -rw-r--r-- | tests/lib/test_srcdest_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/test_srcdest_table.c b/tests/lib/test_srcdest_table.c index 097da113ab..2d8f024d16 100644 --- a/tests/lib/test_srcdest_table.c +++ b/tests/lib/test_srcdest_table.c @@ -160,7 +160,7 @@ static void test_state_add_route(struct test_state *test, } rn->info = (void *)0xdeadbeef; - hash_get(test->log, hash_entry, log_alloc); + (void)hash_get(test->log, hash_entry, log_alloc); }; static void test_state_del_route(struct test_state *test, @@ -328,7 +328,7 @@ static void get_rand_prefix(struct prng *prng, struct prefix_ipv6 *p) p->prefixlen = prng_rand(prng) % 129; p->family = AF_INET6; - apply_mask((struct prefix *)p); + apply_mask(p); } static void get_rand_prefix_pair(struct prng *prng, struct prefix_ipv6 *dst_p, |
