From c616acb810400c81dc423735b41506670bc80839 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Wed, 12 Jul 2006 13:14:26 +0000 Subject: [PATCH] (Fbyte_code): Use CHECK_VECTOR. --- src/bytecode.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/src/bytecode.c b/src/bytecode.c index 0d06890eab..d71006cb66 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -433,8 +433,7 @@ If the third argument is incorrect, Emacs may crash. */) #endif CHECK_STRING (bytestr); - if (!VECTORP (vector)) - vector = wrong_type_argument (Qvectorp, vector); + CHECK_VECTOR (vector); CHECK_NUMBER (maxdepth); if (STRING_MULTIBYTE (bytestr)) @@ -547,9 +546,7 @@ If the third argument is incorrect, Emacs may crash. */) else if (NILP (v1)) TOP = Qnil; else - { - wrong_type_argument (Qlistp, v1); - } + wrong_type_argument (Qlistp, v1); break; } @@ -580,9 +577,7 @@ If the third argument is incorrect, Emacs may crash. */) else if (NILP (v1)) TOP = Qnil; else - { - wrong_type_argument (Qlistp, v1); - } + wrong_type_argument (Qlistp, v1); break; } -- 2.20.1