Change in osmo-iuh[master]: tests/hnb-test: Drop unused variables

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Thu Jan 14 10:31:38 UTC 2021


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-iuh/+/22169 )


Change subject: tests/hnb-test: Drop unused variables
......................................................................

tests/hnb-test: Drop unused variables

Change-Id: I12870a1cf2462b7cc2868a54f58416e03a856084
---
M src/tests/hnb-test.c
1 file changed, 2 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/69/22169/1

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 @@
 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 @@
 				    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_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,

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/22169
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I12870a1cf2462b7cc2868a54f58416e03a856084
Gerrit-Change-Number: 22169
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210114/f8129807/attachment.htm>


More information about the gerrit-log mailing list