Change in osmo-msc[master]: cosmetic: drop unused variable

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/.

Max gerrit-no-reply at lists.osmocom.org
Mon Dec 17 16:45:25 UTC 2018


Max has submitted this change and it was merged. ( https://gerrit.osmocom.org/12334 )

Change subject: cosmetic: drop unused variable
......................................................................

cosmetic: drop unused variable

Change-Id: Iff358eb2328cdd052e66b572aeec1b767174949b
---
M src/libmsc/a_iface.c
1 file changed, 1 insertion(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved



diff --git a/src/libmsc/a_iface.c b/src/libmsc/a_iface.c
index 66644ee..a96f247 100644
--- a/src/libmsc/a_iface.c
+++ b/src/libmsc/a_iface.c
@@ -360,7 +360,6 @@
 	struct ran_conn *conn;
 	struct gsm0808_channel_type ct;
 	struct gsm0808_speech_codec_list scl;
-	uint32_t *ci_ptr = NULL;
 	struct msgb *msg;
 	struct sockaddr_storage rtp_addr;
 	struct sockaddr_in rtp_addr_in;
@@ -404,7 +403,7 @@
 	memset(&rtp_addr, 0, sizeof(rtp_addr));
 	memcpy(&rtp_addr, &rtp_addr_in, sizeof(rtp_addr_in));
 
-	msg = gsm0808_create_ass(&ct, NULL, &rtp_addr, &scl, ci_ptr);
+	msg = gsm0808_create_ass(&ct, NULL, &rtp_addr, &scl, NULL);
 
 	LOGPCONN(conn, LOGL_DEBUG, "N-DATA.req(%s)\n", msgb_hexdump_l2(msg));
 	return osmo_sccp_tx_data_msg(conn->a.scu, conn->a.conn_id, msg);

-- 
To view, visit https://gerrit.osmocom.org/12334
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Iff358eb2328cdd052e66b572aeec1b767174949b
Gerrit-Change-Number: 12334
Gerrit-PatchSet: 2
Gerrit-Owner: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Max <msuraev at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181217/cb8d34e0/attachment.htm>


More information about the gerrit-log mailing list