aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/bytecode.c4
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 0d2e48709b0..dae88397ce0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12011-04-01 Paul Eggert <eggert@cs.ucla.edu> 12011-04-01 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * bytecode.c (Fbyte_code) [!defined BYTE_CODE_SAFE]: Remove var
4 that is set but not used.
5
3 * print.c (print_object): Remove var that is set but not used. 6 * print.c (print_object): Remove var that is set but not used.
4 7
5 Replace 2 copies of readlink code with 1 gnulib version (Bug#8401). 8 Replace 2 copies of readlink code with 1 gnulib version (Bug#8401).
diff --git a/src/bytecode.c b/src/bytecode.c
index a7be8e26f27..5a62c913a40 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -425,8 +425,8 @@ If the third argument is incorrect, Emacs may crash. */)
425#ifdef BYTE_CODE_SAFE 425#ifdef BYTE_CODE_SAFE
426 int const_length = XVECTOR (vector)->size; 426 int const_length = XVECTOR (vector)->size;
427 Lisp_Object *stacke; 427 Lisp_Object *stacke;
428#endif
429 int bytestr_length; 428 int bytestr_length;
429#endif
430 struct byte_stack stack; 430 struct byte_stack stack;
431 Lisp_Object *top; 431 Lisp_Object *top;
432 Lisp_Object result; 432 Lisp_Object result;
@@ -453,7 +453,9 @@ If the third argument is incorrect, Emacs may crash. */)
453 convert them back to the originally intended unibyte form. */ 453 convert them back to the originally intended unibyte form. */
454 bytestr = Fstring_as_unibyte (bytestr); 454 bytestr = Fstring_as_unibyte (bytestr);
455 455
456#ifdef BYTE_CODE_SAFE
456 bytestr_length = SBYTES (bytestr); 457 bytestr_length = SBYTES (bytestr);
458#endif
457 vectorp = XVECTOR (vector)->contents; 459 vectorp = XVECTOR (vector)->contents;
458 460
459 stack.byte_string = bytestr; 461 stack.byte_string = bytestr;