diff --git a/.gitignore b/.gitignore index 220a1e0eb..6f792e615 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,5 @@ _zstdbench/ .DS_Store googletest/ *.d + +build/VS2010/zwrapbench/zwrapbench.vcxproj \ No newline at end of file diff --git a/programs/bench.c b/programs/bench.c index 7b6e25206..df68d0ada 100644 --- a/programs/bench.c +++ b/programs/bench.c @@ -213,11 +213,18 @@ static int BMK_benchMem(const void* srcBuffer, size_t srcSize, if (cdict==NULL) EXM_THROW(1, "ZSTD_createCDict_advanced() allocation failure"); do { U32 blockNb; + size_t rSize; for (blockNb=0; blockNb