pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmo-sccp/+/34617?usp=email )
Change subject: sccp: Drop unused local variable
......................................................................
sccp: Drop unused local variable
Change-Id: I7f829f1c285d01faeaad317262ddd51f39e42886
---
M src/sccp.c
1 file changed, 9 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/17/34617/1
diff --git a/src/sccp.c b/src/sccp.c
index ecab9ab..85bea6d 100644
--- a/src/sccp.c
+++ b/src/sccp.c
@@ -840,7 +840,6 @@
struct msgb *request;
struct sccp_connection_request *req;
uint8_t *data;
- uint8_t extra_size = 3 + 1;
int called_len;
if (l3_data) {
@@ -850,8 +849,6 @@
}
}
- if (l3_data)
- extra_size += 2 + l3_length;
request = msgb_alloc_headroom(SCCP_MSG_SIZE,
SCCP_MSG_HEADROOM, "sccp connection request");
request->l2h = &request->data[0];
--
To view, visit
https://gerrit.osmocom.org/c/libosmo-sccp/+/34617?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I7f829f1c285d01faeaad317262ddd51f39e42886
Gerrit-Change-Number: 34617
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange