mirror of
https://github.com/facebook/zstd.git
synced 2025-10-10 00:03:36 -04:00
fix "unused parameter" in single-thread mode
within newly added ZSD_toFlushNow()
This commit is contained in:
parent
105677c6db
commit
c71c4f23d7
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user