]> granicus.if.org Git - gc/commit
Avoid compiler warning about unused d in GC_CALLOC/MALLOC_EXPLICITLY_TYPED
authorIvan Maidanski <ivmai@mail.ru>
Mon, 1 Apr 2019 19:21:54 +0000 (22:21 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 1 Apr 2019 19:23:12 +0000 (22:23 +0300)
commit95b94424b182603e0df41276a2cdd7db7345944c
tree54bbf4a7ea7aa6011325486d451aa6d185165177
parent1862f525889139526ccedc22a0a9648f79f72f26
Avoid compiler warning about unused d in GC_CALLOC/MALLOC_EXPLICITLY_TYPED

Even if GC_DEBUG is defined, "d" argument of GC_CALLOC_EXPLICITLY_TYPED
and GC_MALLOC_EXPLICITLY_TYPED should be used anyway.

* include/gc_typed.h [GC_DEBUG] (GC_MALLOC_EXPLICITLY_TYPED,
GC_CALLOC_EXPLICITLY_TYPED): Cast d to void.
include/gc_typed.h