]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Remove CHECK_E Macro
authorW. Felix Handte <w@felixhandte.com>
Mon, 28 Jan 2019 22:28:14 +0000 (17:28 -0500)
committerW. Felix Handte <w@felixhandte.com>
Mon, 28 Jan 2019 22:33:13 +0000 (17:33 -0500)
lib/common/zstd_internal.h

index 4b265bfa922d1524bf51344067404849ff0d8aea..2870bdea2188fd502cc74c3f6eb9332753f29fe0 100644 (file)
@@ -54,8 +54,6 @@ extern "C" {
 #define MIN(a,b) ((a)<(b) ? (a) : (b))
 #define MAX(a,b) ((a)>(b) ? (a) : (b))
 
-#define CHECK_E(f, e) { size_t const errcod = f; if (ERR_isError(errcod)) return ERROR(e); }  /* check and send Error code */
-
 /**
  * Return the specified error if the condition evaluates to true.
  *