From 7b76934f033bd1839d3ed56987441b1b80698a63 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 4 Jul 2013 20:19:44 +0200 Subject: nat: The second call didn't really add anything to the test. Avoid: Coverity CID 1042323 --- openbsc/tests/bsc-nat/bsc_nat_test.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'openbsc/tests') diff --git a/openbsc/tests/bsc-nat/bsc_nat_test.c b/openbsc/tests/bsc-nat/bsc_nat_test.c index cbc1f1821..4a244dba3 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -783,9 +783,6 @@ static void test_cr_filter() msgb_reset(msg); copy_to_msg(msg, cr_filter[i].data, cr_filter[i].length); - nat_lst = bsc_nat_acc_lst_get(nat, "nat"); - bsc_lst = bsc_nat_acc_lst_get(nat, "bsc"); - if (gsm_parse_reg(nat_entry, &nat_entry->imsi_deny_re, &nat_entry->imsi_deny, cr_filter[i].nat_imsi_deny ? 1 : 0, &cr_filter[i].nat_imsi_deny) != 0) -- cgit v1.2.3