From: W. Felix Handte Date: Mon, 28 Jan 2019 22:16:32 +0000 (-0500) Subject: Remove CHECK_F Macro X-Git-Tag: v1.4.0^2~44^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ebd897157540bb16b94208217bb0c909cfd6e39;p=thirdparty%2Fzstd.git Remove CHECK_F Macro --- diff --git a/lib/common/zstd_internal.h b/lib/common/zstd_internal.h index abf35d21a..4b265bfa9 100644 --- a/lib/common/zstd_internal.h +++ b/lib/common/zstd_internal.h @@ -53,7 +53,7 @@ extern "C" { #undef MAX #define MIN(a,b) ((a)<(b) ? (a) : (b)) #define MAX(a,b) ((a)>(b) ? (a) : (b)) -#define CHECK_F(f) { size_t const errcod = f; if (ERR_isError(errcod)) return errcod; } /* check and Forward error code */ + #define CHECK_E(f, e) { size_t const errcod = f; if (ERR_isError(errcod)) return ERROR(e); } /* check and send Error code */ /**