From c5e49b58dd62e27c1632ae963d0e56e4885e8162 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Wed, 28 Sep 2016 10:30:07 +0300 Subject: [PATCH] Revert "Workaround 'struct member Generic::null never used' cppcheck style warning" (after commit cbc51ee) This reverts commit 3fea666ef34f90b2c04095274c449b0b7978d756. The reverted commit is not needed anymore because commit cbc51ee adds function.null value check. --- cord/cordbscs.c | 1 - 1 file changed, 1 deletion(-) diff --git a/cord/cordbscs.c b/cord/cordbscs.c index 321ca94d..3eb63f4c 100644 --- a/cord/cordbscs.c +++ b/cord/cordbscs.c @@ -306,7 +306,6 @@ CORD CORD_from_fn(CORD_fn fn, void * client_data, size_t len) result = GC_NEW(struct Function); if (result == 0) OUT_OF_MEMORY; - if (result->null != 0) ABORT("error"); /* make 'null' field used */ result->header = FN_HDR; /* depth is already 0 */ result->len = len; -- 2.50.1