Remove unnecessarily code
This commit is contained in:
parent
44310c6de5
commit
9de9b6ebd6
|
@ -541,10 +541,7 @@ static uint8_t* decode_length(ssize_t *res, size_t *shift_ptr, int *final,
|
|||
*res = n;
|
||||
return in;
|
||||
}
|
||||
if(*in & (1 << 7)) {
|
||||
*res = -1;
|
||||
return in + 1;
|
||||
}
|
||||
|
||||
*res = n;
|
||||
*final = 1;
|
||||
return in + 1;
|
||||
|
|
Loading…
Reference in New Issue