summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/bgp_mp_attr_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgp_mp_attr_test.c b/tests/bgp_mp_attr_test.c
index f086740f..177c1ad8 100644
--- a/tests/bgp_mp_attr_test.c
+++ b/tests/bgp_mp_attr_test.c
@@ -436,8 +436,8 @@ parse_test (struct peer *peer, struct test_segment *t, int type)
{
int ret;
int oldfailed = failed;
- struct attr attr;
- struct bgp_nlri nlri;
+ struct attr attr = { };
+ struct bgp_nlri nlri = { };
struct bgp_attr_parser_args attr_args = {
.peer = peer,
.length = t->len,