From 89f4c80541e631a71b6767dc2e1853aad5b3986b Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Thu, 14 Jan 2021 11:13:46 +0100 Subject: [PATCH] tests/hnb-test: Drop unused variables Change-Id: I12870a1cf2462b7cc2868a54f58416e03a856084 --- src/tests/hnb-test.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c index 27959ec9..4b726faf 100644 --- a/src/tests/hnb-test.c +++ b/src/tests/hnb-test.c @@ -81,7 +81,7 @@ struct msgb *rua_new_udt(struct msgb *inmsg); static int hnb_test_ue_de_register_tx(struct hnb_test *hnb_test) { struct msgb *msg; - int rc, imsi_len; + int rc; uint32_t ctx_id; UEDe_Register_t dereg; @@ -320,7 +320,6 @@ static int hnb_test_nas_rx_auth_req(struct hnb_test *hnb, struct gsm48_hdr *gh, int len) { struct gsm48_auth_req *ar; - int parse_res; len -= (const char *)&gh->data[0] - (const char *)gh; @@ -629,7 +628,7 @@ static int hnb_read_cb(struct osmo_fd *fd) static int hnb_write_cb(struct osmo_fd *fd, struct msgb *msg) { - struct hnb_test *ctx = fd->data; + /* struct hnb_test *ctx = fd->data; */ struct sctp_sndrcvinfo sinfo = { .sinfo_ppid = htonl(msgb_sctp_ppid(msg)), .sinfo_stream = 0,