Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
acf5f7d3
Commit
acf5f7d3
authored
May 25, 2003
by
Stefan Monnier
Browse files
(Fgarbage_collect): Remove `unused var tail' warning.
parent
eef0be88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
10 deletions
+12
-10
src/alloc.c
src/alloc.c
+12
-10
No files found.
src/alloc.c
View file @
acf5f7d3
...
...
@@ -4087,7 +4087,6 @@ Garbage collection happens automatically if you cons more than
`gc-cons-threshold' bytes of Lisp data since previous garbage collection. */
)
()
{
register
struct
gcpro
*
tail
;
register
struct
specbinding
*
bind
;
struct
catchtag
*
catch
;
struct
handler
*
handler
;
...
...
@@ -4201,15 +4200,18 @@ Garbage collection happens automatically if you cons more than
|| GC_MARK_STACK == GC_MARK_STACK_CHECK_GCPROS)
mark_stack
();
#else
for
(
tail
=
gcprolist
;
tail
;
tail
=
tail
->
next
)
for
(
i
=
0
;
i
<
tail
->
nvars
;
i
++
)
if
(
!
XMARKBIT
(
tail
->
var
[
i
]))
{
/* Explicit casting prevents compiler warning about
discarding the `volatile' qualifier. */
mark_object
((
Lisp_Object
*
)
&
tail
->
var
[
i
]);
XMARK
(
tail
->
var
[
i
]);
}
{
register
struct
gcpro
*
tail
;
for
(
tail
=
gcprolist
;
tail
;
tail
=
tail
->
next
)
for
(
i
=
0
;
i
<
tail
->
nvars
;
i
++
)
if
(
!
XMARKBIT
(
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
mark_byte_stack
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment