Merge pull request #1298 from facebook/bench

Refactored bench.c
This commit is contained in:
Yann Collet
2018-08-28 12:25:02 -07:00
committed by GitHub
7 changed files with 1296 additions and 1078 deletions
+1 -2
View File
@@ -1334,8 +1334,7 @@ static size_t ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx,
}
/* copy dictionary offsets */
{
ZSTD_matchState_t const* srcMatchState = &cdict->matchState;
{ ZSTD_matchState_t const* srcMatchState = &cdict->matchState;
ZSTD_matchState_t* dstMatchState = &cctx->blockState.matchState;
dstMatchState->window = srcMatchState->window;
dstMatchState->nextToUpdate = srcMatchState->nextToUpdate;