(Fgarbage_collect): Prevent compiler warning for a call
to `mark_object'.
This commit is contained in:
parent
858f7cb406
commit
1efc2bb9c8
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-10-03 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* alloc.c (Fgarbage_collect): Prevent compiler warning for a call
|
||||
to `mark_object'.
|
||||
|
||||
2000-10-02 Stefan Monnier <monnier@cs.yale.edu>
|
||||
|
||||
* syntax.c (forw_comment): Match nestedness of ender/starter.
|
||||
|
|
|
@ -3600,7 +3600,9 @@ Garbage collection happens automatically if you cons more than\n\
|
|||
for (i = 0; i < tail->nvars; i++)
|
||||
if (!XMARKBIT (tail->var[i]))
|
||||
{
|
||||
mark_object (&tail->var[i]);
|
||||
/* Explicit casting prevents compiler warning about
|
||||
discarding the `volatile' qualifier. */
|
||||
mark_object ((Lisp_Object *)&tail->var[i]);
|
||||
XMARK (tail->var[i]);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue