aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-03-26 20:41:02 +0100
committerlaforge <laforge@osmocom.org>2020-03-30 10:08:02 +0000
commitc374ab00ac8d924c503961ca9f28edd6d35d9fbe (patch)
tree56d326bff651de3183c6513959b5bedaef076de2
parentc8280a538a7abb8d707b308bdd00ee0442188e43 (diff)
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
-rw-r--r--src/csn1.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/csn1.c b/src/csn1.c
index b3817e3..3db1e13 100644
--- a/src/csn1.c
+++ b/src/csn1.c
@@ -1027,12 +1027,6 @@ csnStreamDecoder(csnStream_t* ar, const CSN_DESCR* pDescr, struct bitvec *vector
/* 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;