summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-10-03 14:22:38 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-10-09 20:26:30 +0200
commit121e245d4f478ab9cb8a01900d8659380d2149f4 (patch)
treed5b274cec9744d147c2f8f2e1d7c1cfbe39d12ba /tests
parentbgpd: Rename various variable names to something more appropriate (diff)
downloadfrr-121e245d4f478ab9cb8a01900d8659380d2149f4.tar.xz
frr-121e245d4f478ab9cb8a01900d8659380d2149f4.zip
bgpd: Cleanup warnings issued by CI system from these changes
Modify code to cleanup warnings issued by the CI system from this series of changes. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bgpd/test_mpath.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/bgpd/test_mpath.c b/tests/bgpd/test_mpath.c
index 193cbc2b7..f0797827c 100644
--- a/tests/bgpd/test_mpath.c
+++ b/tests/bgpd/test_mpath.c
@@ -317,7 +317,8 @@ static int run_bgp_path_info_mpath_update(testcase_t *t)
bgp_mp_list_add(&mp_list, &test_mp_list_info[1]);
new_best = &test_mp_list_info[3];
old_best = NULL;
- bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list, &mp_cfg);
+ bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list,
+ &mp_cfg);
bgp_mp_list_clear(&mp_list);
EXPECT_TRUE(bgp_path_info_mpath_count(new_best) == 2, test_result);
mpath = bgp_path_info_mpath_first(new_best);
@@ -331,7 +332,8 @@ static int run_bgp_path_info_mpath_update(testcase_t *t)
bgp_mp_list_add(&mp_list, &test_mp_list_info[1]);
new_best = &test_mp_list_info[0];
old_best = &test_mp_list_info[3];
- bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list, &mp_cfg);
+ bgp_path_info_mpath_update(&test_rn, new_best, old_best, &mp_list,
+ &mp_cfg);
bgp_mp_list_clear(&mp_list);
EXPECT_TRUE(bgp_path_info_mpath_count(new_best) == 1, test_result);
mpath = bgp_path_info_mpath_first(new_best);