diff options
Diffstat (limited to 'src/data.c')
| -rw-r--r-- | src/data.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/data.c b/src/data.c index 1c124740815..a9908a34f4f 100644 --- a/src/data.c +++ b/src/data.c | |||
| @@ -980,14 +980,12 @@ chain of aliases, signal a `cyclic-variable-indirection' error. */) | |||
| 980 | swap_in_symval_forwarding for that. */ | 980 | swap_in_symval_forwarding for that. */ |
| 981 | 981 | ||
| 982 | Lisp_Object | 982 | Lisp_Object |
| 983 | do_symval_forwarding (register union Lisp_Fwd *valcontents) | 983 | do_symval_forwarding (union Lisp_Fwd *valcontents) |
| 984 | { | 984 | { |
| 985 | register Lisp_Object val; | ||
| 986 | switch (XFWDTYPE (valcontents)) | 985 | switch (XFWDTYPE (valcontents)) |
| 987 | { | 986 | { |
| 988 | case Lisp_Fwd_Int: | 987 | case Lisp_Fwd_Int: |
| 989 | XSETINT (val, *XFIXNUMFWD (valcontents)->intvar); | 988 | return make_fixnum (*XFIXNUMFWD (valcontents)->intvar); |
| 990 | return val; | ||
| 991 | 989 | ||
| 992 | case Lisp_Fwd_Bool: | 990 | case Lisp_Fwd_Bool: |
| 993 | return (*XBOOLFWD (valcontents)->boolvar ? Qt : Qnil); | 991 | return (*XBOOLFWD (valcontents)->boolvar ? Qt : Qnil); |
| @@ -1023,7 +1021,7 @@ do_symval_forwarding (register union Lisp_Fwd *valcontents) | |||
| 1023 | void | 1021 | void |
| 1024 | wrong_choice (Lisp_Object choice, Lisp_Object wrong) | 1022 | wrong_choice (Lisp_Object choice, Lisp_Object wrong) |
| 1025 | { | 1023 | { |
| 1026 | ptrdiff_t i = 0, len = XFIXNUM (Flength (choice)); | 1024 | ptrdiff_t i = 0, len = list_length (choice); |
| 1027 | Lisp_Object obj, *args; | 1025 | Lisp_Object obj, *args; |
| 1028 | AUTO_STRING (one_of, "One of "); | 1026 | AUTO_STRING (one_of, "One of "); |
| 1029 | AUTO_STRING (comma, ", "); | 1027 | AUTO_STRING (comma, ", "); |