encoding: assert return value of bitvec_set_u64()
Change-Id: Ic0de3ae34f06e41aacacb917f5a0214623259bdc Fixes: OS#182120
This commit is contained in:
parent
9cbfe11ee2
commit
9a530a2430
|
@ -162,7 +162,8 @@ static inline void write_ws(bitvec *dest, unsigned int *write_index, uint16_t ws
|
|||
{
|
||||
dest->cur_bit = *write_index;
|
||||
|
||||
bitvec_set_u64(dest, enc_ws(ws), 5, false);
|
||||
int rc = bitvec_set_u64(dest, enc_ws(ws), 5, false);
|
||||
OSMO_ASSERT(rc == 0);
|
||||
|
||||
*write_index += 5;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue