diff options
Diffstat (limited to 'src/bytecode.c')
| -rw-r--r-- | src/bytecode.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bytecode.c b/src/bytecode.c index db80f5b1a9c..fd119c58e19 100644 --- a/src/bytecode.c +++ b/src/bytecode.c | |||
| @@ -415,7 +415,7 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 415 | /* Lisp_Object v1, v2; */ | 415 | /* Lisp_Object v1, v2; */ |
| 416 | Lisp_Object *vectorp; | 416 | Lisp_Object *vectorp; |
| 417 | #ifdef BYTE_CODE_SAFE | 417 | #ifdef BYTE_CODE_SAFE |
| 418 | int const_length = XVECTOR (vector)->size; | 418 | int const_length; |
| 419 | Lisp_Object *stacke; | 419 | Lisp_Object *stacke; |
| 420 | #endif | 420 | #endif |
| 421 | int bytestr_length; | 421 | int bytestr_length; |
| @@ -437,6 +437,9 @@ If the third argument is incorrect, Emacs may crash. */) | |||
| 437 | CHECK_VECTOR (vector); | 437 | CHECK_VECTOR (vector); |
| 438 | CHECK_NUMBER (maxdepth); | 438 | CHECK_NUMBER (maxdepth); |
| 439 | 439 | ||
| 440 | #ifdef BYTE_CODE_SAFE | ||
| 441 | const_length = XVECTOR_SIZE (vector); | ||
| 442 | #endif | ||
| 440 | if (STRING_MULTIBYTE (bytestr)) | 443 | if (STRING_MULTIBYTE (bytestr)) |
| 441 | /* BYTESTR must have been produced by Emacs 20.2 or the earlier | 444 | /* BYTESTR must have been produced by Emacs 20.2 or the earlier |
| 442 | because they produced a raw 8-bit string for byte-code and now | 445 | because they produced a raw 8-bit string for byte-code and now |