Mercurial > emacs
changeset 40654:46a74c23644e
(CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused argument `i' in macros.
author | Pavel Janík <Pavel@Janik.cz> |
---|---|
date | Fri, 02 Nov 2001 20:12:54 +0000 |
parents | 6c48a4da1da5 |
children | 45453187feeb |
files | src/category.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/category.h Fri Nov 02 20:12:06 2001 +0000 +++ b/src/category.h Fri Nov 02 20:12:54 2001 +0000 @@ -53,7 +53,7 @@ #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 @@ #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)