aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:13:46 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-01-14 11:24:31 +0100
commit89f4c80541e631a71b6767dc2e1853aad5b3986b (patch)
tree1a79b36db301f3a921464a93997fbe18edd56926 /src
parent825a1e40a856ea6f33015480468414cb3ce0455e (diff)
tests/hnb-test: Drop unused variables
Diffstat (limited to 'src')
-rw-r--r--src/tests/hnb-test.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tests/hnb-test.c b/src/tests/hnb-test.c
index 27959ec..4b726fa 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,