diff options
| author | Gerd Moellmann | 1999-09-20 23:18:48 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-20 23:18:48 +0000 |
| commit | 95384e1edeb72191391a52756b1fa0d665c674ad (patch) | |
| tree | f33030a40ee1c831b8b49dbcf1c2531015cf695c /src | |
| parent | b18c598fd04bbd790716cd75efc023faaa5029e4 (diff) | |
| download | emacs-95384e1edeb72191391a52756b1fa0d665c674ad.tar.gz emacs-95384e1edeb72191391a52756b1fa0d665c674ad.zip | |
(readchar): Remove unused variables.
(read_filtered_event, read1, Fmapatoms): Ditto.
(toplevel): Include intervals.h.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/lread.c b/src/lread.c index d02d2b31200..b57223b8cf8 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -27,6 +27,7 @@ Boston, MA 02111-1307, USA. */ | |||
| 27 | #include <sys/file.h> | 27 | #include <sys/file.h> |
| 28 | #include <errno.h> | 28 | #include <errno.h> |
| 29 | #include "lisp.h" | 29 | #include "lisp.h" |
| 30 | #include "intervals.h" | ||
| 30 | 31 | ||
| 31 | #ifndef standalone | 32 | #ifndef standalone |
| 32 | #include "buffer.h" | 33 | #include "buffer.h" |
| @@ -190,7 +191,7 @@ readchar (readcharfun) | |||
| 190 | Lisp_Object readcharfun; | 191 | Lisp_Object readcharfun; |
| 191 | { | 192 | { |
| 192 | Lisp_Object tem; | 193 | Lisp_Object tem; |
| 193 | register int c, mpos; | 194 | register int c; |
| 194 | 195 | ||
| 195 | if (BUFFERP (readcharfun)) | 196 | if (BUFFERP (readcharfun)) |
| 196 | { | 197 | { |
| @@ -476,7 +477,7 @@ read_filtered_event (no_switch_frame, ascii_required, error_nonascii, | |||
| 476 | /* Convert certain symbols to their ASCII equivalents. */ | 477 | /* Convert certain symbols to their ASCII equivalents. */ |
| 477 | if (SYMBOLP (val)) | 478 | if (SYMBOLP (val)) |
| 478 | { | 479 | { |
| 479 | Lisp_Object tem, tem1, tem2; | 480 | Lisp_Object tem, tem1; |
| 480 | tem = Fget (val, Qevent_symbol_element_mask); | 481 | tem = Fget (val, Qevent_symbol_element_mask); |
| 481 | if (!NILP (tem)) | 482 | if (!NILP (tem)) |
| 482 | { | 483 | { |
| @@ -1902,8 +1903,6 @@ read1 (readcharfun, pch, first_in_list) | |||
| 1902 | 1903 | ||
| 1903 | case '?': | 1904 | case '?': |
| 1904 | { | 1905 | { |
| 1905 | register Lisp_Object val; | ||
| 1906 | |||
| 1907 | c = READCHAR; | 1906 | c = READCHAR; |
| 1908 | if (c < 0) return Fsignal (Qend_of_file, Qnil); | 1907 | if (c < 0) return Fsignal (Qend_of_file, Qnil); |
| 1909 | 1908 | ||
| @@ -2938,8 +2937,6 @@ OBARRAY defaults to the value of `obarray'.") | |||
| 2938 | (function, obarray) | 2937 | (function, obarray) |
| 2939 | Lisp_Object function, obarray; | 2938 | Lisp_Object function, obarray; |
| 2940 | { | 2939 | { |
| 2941 | Lisp_Object tem; | ||
| 2942 | |||
| 2943 | if (NILP (obarray)) obarray = Vobarray; | 2940 | if (NILP (obarray)) obarray = Vobarray; |
| 2944 | obarray = check_obarray (obarray); | 2941 | obarray = check_obarray (obarray); |
| 2945 | 2942 | ||