mirror of
https://github.com/facebook/zstd.git
synced 2025-08-05 19:15:58 +03:00
add error message for the (rare) compression error scenario
This commit is contained in:
@@ -451,7 +451,7 @@ BMK_benchMemAdvancedNoAlloc(
|
|||||||
BMK_runOutcome_t const cOutcome = BMK_benchTimedFn( timeStateCompress, cbp);
|
BMK_runOutcome_t const cOutcome = BMK_benchTimedFn( timeStateCompress, cbp);
|
||||||
|
|
||||||
if (!BMK_isSuccessful_runOutcome(cOutcome)) {
|
if (!BMK_isSuccessful_runOutcome(cOutcome)) {
|
||||||
return BMK_benchOutcome_error();
|
RETURN_ERROR(30, BMK_benchOutcome_t, "compression error");
|
||||||
}
|
}
|
||||||
|
|
||||||
{ BMK_runTime_t const cResult = BMK_extract_runTime(cOutcome);
|
{ BMK_runTime_t const cResult = BMK_extract_runTime(cOutcome);
|
||||||
|
Reference in New Issue
Block a user