Commit 9de9b6eb authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Remove unnecessarily code

parent 44310c6d
...@@ -541,10 +541,7 @@ static uint8_t* decode_length(ssize_t *res, size_t *shift_ptr, int *final, ...@@ -541,10 +541,7 @@ static uint8_t* decode_length(ssize_t *res, size_t *shift_ptr, int *final,
*res = n; *res = n;
return in; return in;
} }
if(*in & (1 << 7)) {
*res = -1;
return in + 1;
}
*res = n; *res = n;
*final = 1; *final = 1;
return in + 1; return in + 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment