Change in osmo-pcu[master]: csn1: Remove code block from CSN_NEXT_EXIST_LH

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 Mar 26 19:51:48 UTC 2020


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


Change subject: csn1: Remove code block from CSN_NEXT_EXIST_LH
......................................................................

csn1: Remove code block from CSN_NEXT_EXIST_LH

It was removed in wireshark.git e8407dd6c1378427daee77e8de540d0b5f7a0b73
and it's not there anymore in current master.

Change-Id: I73f4eeca3fd4f00a5bc4f06ef7a9bb9b8a70e37b
---
M src/csn1.c
1 file changed, 0 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/33/17633/1

diff --git a/src/csn1.c b/src/csn1.c
index c9c8cdd..e5b606b 100644
--- a/src/csn1.c
+++ b/src/csn1.c
@@ -1027,12 +1027,6 @@
           /* skip 'i' entries + this entry */
           pDescr += pDescr->i + 1;
 
-          /* pDescr now must be pointing to a CSN_END entry, if not this is an error */
-          if ( pDescr->type != CSN_END )
-          { /* substract one more bit from remaining_bits_len to make the "not enough bits" error to be triggered */
-            remaining_bits_len--;
-          }
-
           /* set the data member to "not exist" */
           *pui8 = 0;
           break;

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

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I73f4eeca3fd4f00a5bc4f06ef7a9bb9b8a70e37b
Gerrit-Change-Number: 17633
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/20200326/b282e093/attachment.htm>


More information about the gerrit-log mailing list