Remove unnecessarily code

This commit is contained in:
Tatsuhiro Tsujikawa 2014-07-22 01:52:51 +09:00
parent 44310c6de5
commit 9de9b6ebd6
1 changed files with 1 additions and 4 deletions

View File

@ -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;