From e1fb5670cda5ba099c24a6656058b98771fa2f3b Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sun, 16 May 2010 16:45:27 +0800 Subject: [nat] Remove parameter that is never accessed directly The msgb needs to be around when we access the parsed structure but that needs to be guranteed by the caller handing out the parsed structure. --- openbsc/tests/bsc-nat/bsc_nat_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (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 adc8a197a..ca9fbd4dd 100644 --- a/openbsc/tests/bsc-nat/bsc_nat_test.c +++ b/openbsc/tests/bsc-nat/bsc_nat_test.c @@ -294,7 +294,7 @@ static void test_contrack() fprintf(stderr, "Con should not exist %p\n", con_found); abort(); } - rc = create_sccp_src_ref(con, msg, parsed); + rc = create_sccp_src_ref(con, parsed); if (rc != 0) { fprintf(stderr, "Failed to create a ref\n"); abort(); -- cgit v1.2.3