[XS] Change in osmo-sgsn[master]: sndcp: Remove unused variable
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email ) Change subject: sndcp: Remove unused variable ...................................................................... sndcp: Remove unused variable gcc 16.1.1 warns about it. Change-Id: Ie2bd3d2935cd7e0ad023a163c9be9a05b83fbc5e --- M src/sgsn/gprs_sndcp_xid.c 1 file changed, 1 insertion(+), 3 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/99/43099/1 diff --git a/src/sgsn/gprs_sndcp_xid.c b/src/sgsn/gprs_sndcp_xid.c index a19f645..344fda4 100644 --- a/src/sgsn/gprs_sndcp_xid.c +++ b/src/sgsn/gprs_sndcp_xid.c @@ -1352,7 +1352,6 @@ uint8_t tag; uint16_t tag_len; const uint8_t *val; - int byte_counter = 0; int rc; int tlv_count = 0; @@ -1403,8 +1402,7 @@ if (rc < 0) { talloc_free(comp_fields); return -EINVAL; - } else - byte_counter += rc; + } } /* Stop when no further TLV elements can be expected */ -- To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/43099?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: osmo-sgsn Gerrit-Branch: master Gerrit-Change-Id: Ie2bd3d2935cd7e0ad023a163c9be9a05b83fbc5e Gerrit-Change-Number: 43099 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin@sysmocom.de>
participants (1)
-
pespin