Nit: Unnest Blocks that Don't Declare Anything

dev
W. Felix Handte 2021-09-08 16:47:26 -04:00
parent 2cdfad538c
commit 47fd762ecc
1 changed files with 11 additions and 15 deletions

View File

@ -184,7 +184,6 @@ _cleanup:
return (size_t)(iend - anchor);
_search_next_long:
{
/* check prefix long +1 match */
if (idxl1 > prefixLowestIndex) {
@ -196,14 +195,11 @@ _search_next_long:
goto _match_found;
}
}
}
/* if no long +1 match, explore the short match we found */
{
mLength = ZSTD_count(ip+4, matchs0+4, iend) + 4;
offset = (U32)(ip - matchs0);
while (((ip>anchor) & (matchs0>prefixLowest)) && (ip[-1] == matchs0[-1])) { ip--; matchs0--; mLength++; } /* catch up */
}
/* fall-through */