1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-09 07:00:23 +02:00

* gc.h (SCM_VALIDATE_CELL): Cast result to (void) in order to

avoid compiler warnings in gcc.  (Does this work for other
compilers?)
This commit is contained in:
Mikael Djurfeldt 2000-06-03 00:17:31 +00:00
parent 4ecf5aa357
commit 05a85bae79

View file

@ -86,7 +86,8 @@ typedef scm_cell * SCM_CELLPTR;
*/
#define SCM_VALIDATE_CELL(x) \
(SCM_DEBUG_CELL_ACCESSES ? (!scm_cellp (x) ? (abort (), 0) : 1) : 1)
((void) \
(SCM_DEBUG_CELL_ACCESSES ? (!scm_cellp (x) ? (abort (), 0) : 1) : 1))
#define SCM_CELL_WORD(x, n) \
((SCM_VALIDATE_CELL (x)), \