projects
/
platform
/
upstream
/
libgc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbc51ee
)
Revert "Workaround 'struct member Generic::null never used' cppcheck style warning"
author
Ivan Maidanski
<ivmai@mail.ru>
Wed, 28 Sep 2016 07:30:07 +0000
(10:30 +0300)
committer
Ivan Maidanski
<ivmai@mail.ru>
Wed, 28 Sep 2016 07:32:03 +0000
(10:32 +0300)
(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
patch
|
blob
|
history
diff --git
a/cord/cordbscs.c
b/cord/cordbscs.c
index
321ca94
..
3eb63f4
100644
(file)
--- 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;