diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-09-21 20:54:57 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-09-21 20:54:57 +0000 |
commit | 6bbd7a29592594e23e5cb98467e608f10b00f877 (patch) | |
tree | 1e60389bc0f5c349fc0a39b2609b1a60b084e133 /src/alloc.c | |
parent | 8179cccd88a3f114b0e4891c033ecd302dfb094e (diff) | |
download | emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.gz emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.tar.bz2 emacs-6bbd7a29592594e23e5cb98467e608f10b00f877.zip |
Avoid some more compiler warnings.
Diffstat (limited to 'src/alloc.c')
-rw-r--r-- | src/alloc.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/alloc.c b/src/alloc.c index 678bdfa4252..75466a787c7 100644 --- a/src/alloc.c +++ b/src/alloc.c @@ -2934,6 +2934,9 @@ mark_maybe_object (obj) } } break; + + case Lisp_Int: + break; } if (mark_p) @@ -3138,7 +3141,7 @@ static void mark_stack () { jmp_buf j; - int stack_grows_down_p = (char *) &j > (char *) stack_base; + volatile int stack_grows_down_p = (char *) &j > (char *) stack_base; void *end; /* This trick flushes the register windows so that all the state of @@ -3362,8 +3365,8 @@ Does not copy symbols. Copies strings without text properties.") } else if (MARKERP (obj)) error ("Attempt to copy a marker to pure storage"); - else - return obj; + + return obj; } |