From: Pavel Janík Date: Fri, 2 Nov 2001 20:12:54 +0000 (+0000) Subject: (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused argument `i' in macros. X-Git-Tag: ttn-vms-21-2-B4~18879 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f18d2738318dfa6d999cd4d5d6fb0b471efa3d45;p=emacs.git (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused argument `i' in macros. --- diff --git a/src/category.h b/src/category.h index 827c6310704..3b2e609bdd3 100644 --- a/src/category.h +++ b/src/category.h @@ -53,7 +53,7 @@ Boston, MA 02111-1307, USA. */ #define CATEGORYP(x) \ (INTEGERP ((x)) && XFASTINT ((x)) >= 0x20 && XFASTINT ((x)) <= 0x7E) -#define CHECK_CATEGORY(x, i) \ +#define CHECK_CATEGORY(x) \ do { \ if (!CATEGORYP ((x))) x = wrong_type_argument (Qcategoryp, (x)); \ } while (0) @@ -71,7 +71,7 @@ Boston, MA 02111-1307, USA. */ #define SET_CATEGORY_SET(category_set, category, val) \ (Faset (category_set, category, val)) -#define CHECK_CATEGORY_SET(x, i) \ +#define CHECK_CATEGORY_SET(x) \ do { \ if (!CATEGORY_SET_P ((x))) x = wrong_type_argument (Qcategorysetp, (x)); \ } while (0)