mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 04:07:12 -06:00
geändert: zstdmt_common.c
This commit is contained in:
@@ -31,10 +31,11 @@ unsigned ZSTDMT_isError(size_t code)
|
||||
*/
|
||||
const char *ZSTDMT_getErrorString(size_t code)
|
||||
{
|
||||
static const char *notErrorCode = "Unspecified error zstmt code";
|
||||
|
||||
if (ZSTD_isError(zstdmt_errcode))
|
||||
return ZSTD_getErrorName(zstdmt_errcode);
|
||||
|
||||
static const char *notErrorCode = "Unspecified error zstmt code";
|
||||
switch ((ZSTDMT_ErrorCode) (0 - code)) {
|
||||
case ZSTDMT_PREFIX(no_error):
|
||||
return "No error detected";
|
||||
|
||||
Reference in New Issue
Block a user