mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 17:15:00 -06:00
geändert: lz4mt_common.c
geändert: lz5mt_common.c
This commit is contained in:
@@ -32,10 +32,11 @@ unsigned LZ4MT_isError(size_t code)
|
||||
*/
|
||||
const char *LZ4MT_getErrorString(size_t code)
|
||||
{
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
|
||||
if (LZ4F_isError(lz4mt_errcode))
|
||||
return LZ4F_getErrorName(lz4mt_errcode);
|
||||
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
switch ((LZ4MT_ErrorCode)(0-code)) {
|
||||
case PREFIX(no_error):
|
||||
return "No error detected";
|
||||
|
||||
@@ -32,10 +32,11 @@ unsigned LZ5MT_isError(size_t code)
|
||||
*/
|
||||
const char *LZ5MT_getErrorString(size_t code)
|
||||
{
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
|
||||
if (LZ5F_isError(lz5mt_errcode))
|
||||
return LZ5F_getErrorName(lz5mt_errcode);
|
||||
|
||||
static const char *notErrorCode = "Unspecified error lz4mt code";
|
||||
switch ((LZ5MT_ErrorCode)(0-code)) {
|
||||
case PREFIX(no_error):
|
||||
return "No error detected";
|
||||
|
||||
Reference in New Issue
Block a user