mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-09 23:40:29 +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:
parent
4ecf5aa357
commit
05a85bae79
1 changed files with 2 additions and 1 deletions
|
@ -86,7 +86,8 @@ typedef scm_cell * SCM_CELLPTR;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SCM_VALIDATE_CELL(x) \
|
#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) \
|
#define SCM_CELL_WORD(x, n) \
|
||||||
((SCM_VALIDATE_CELL (x)), \
|
((SCM_VALIDATE_CELL (x)), \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue