fix "unused parameter" in single-thread mode
within newly added ZSD_toFlushNow()
This commit is contained in:
@@ -916,6 +916,7 @@ size_t ZSTD_toFlushNow(ZSTD_CCtx* cctx)
|
|||||||
return ZSTDMT_toFlushNow(cctx->mtctx);
|
return ZSTDMT_toFlushNow(cctx->mtctx);
|
||||||
}
|
}
|
||||||
#endif
|
#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 */
|
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 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user