[PATCH] libosmo-sccp[master]: sua: Remove unused 'cur' 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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri Nov 11 14:40:21 UTC 2016


Review at  https://gerrit.osmocom.org/1231

sua: Remove unused 'cur' variables

There are some compiler warnings about other unused variables which we
rather keep as a reminder that the SUA code is partially incomplete and
should be finished at some day.

Change-Id: I42b76351f1bbdfb7fe339d5fad98c5a065822a45
---
M src/sua.c
1 file changed, 0 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/31/1231/1

diff --git a/src/sua.c b/src/sua.c
index 898a257..799d270 100644
--- a/src/sua.c
+++ b/src/sua.c
@@ -793,7 +793,6 @@
 	struct xua_msg_part *data_ie = xua_msg_find_tag(xua, SUA_IEI_DATA);
 	struct msgb *upmsg;
 	struct sua_connection *conn;
-	uint8_t *cur;
 
 	/* fill conn */
 	conn = conn_create(link);
@@ -1051,7 +1050,6 @@
 	struct xua_msg_part *data_ie = xua_msg_find_tag(xua, SUA_IEI_DATA);
 	struct msgb *upmsg;
 	uint32_t conn_id = xua_msg_get_u32(xua, SUA_IEI_DEST_REF);
-	uint8_t *cur;
 
 	/* resolve conn */
 	conn = conn_find_by_id(link, conn_id);

-- 
To view, visit https://gerrit.osmocom.org/1231
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I42b76351f1bbdfb7fe339d5fad98c5a065822a45
Gerrit-PatchSet: 1
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>



More information about the gerrit-log mailing list