summaryrefslogtreecommitdiff
path: root/lib/flowspec_test.c
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-03-09 10:30:03 +0100
committerMaria Matejka <mq@ucw.cz>2022-03-09 10:30:42 +0100
commit9e60a1fbc3ef9ab93b414dcf451bbe741e2e8827 (patch)
treeacf228f298ac25f90f304a5c428c1c82282f389a /lib/flowspec_test.c
parentb90c9b164fedd44115c01fb2b07f71fb40ab3b77 (diff)
Fixed resource initialization in unit tests
Diffstat (limited to 'lib/flowspec_test.c')
-rw-r--r--lib/flowspec_test.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/flowspec_test.c b/lib/flowspec_test.c
index 115084a3..03649b99 100644
--- a/lib/flowspec_test.c
+++ b/lib/flowspec_test.c
@@ -446,8 +446,6 @@ t_validation6(void)
static int
t_builder4(void)
{
- resource_init();
-
struct flow_builder *fb = flow_builder_init(&root_pool);
/* Expectation */
@@ -528,7 +526,6 @@ t_builder6(void)
{
net_addr_ip6 ip;
- resource_init();
struct flow_builder *fb = flow_builder_init(&root_pool);
fb->ipv6 = 1;