fix "unused parameter" in single-thread mode

within newly added ZSD_toFlushNow()
This commit is contained in:
Yann Collet 2018-08-20 11:40:10 -07:00
parent 105677c6db
commit c71c4f23d7

View File

@ -916,6 +916,7 @@ size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx)
return ZSTDMT_toFlushNow(cctx->mtctx);
}
#endif
(void)cctx;
return 0; /* over-simplification; could also check if context is currently running in streaming mode, and in which case, report how many bytes are left to be flushed within output buffer */
}