summaryrefslogtreecommitdiff
path: root/src/category.h
diff options
context:
space:
mode:
authorPavel Janík <Pavel@Janik.cz>2001-11-02 20:12:54 +0000
committerPavel Janík <Pavel@Janik.cz>2001-11-02 20:12:54 +0000
commitf18d2738318dfa6d999cd4d5d6fb0b471efa3d45 (patch)
treebb9a0be212fa467d6651e0eca96622e63ded4fef /src/category.h
parent874cc80e49b1a7d0cef98a30002541ae1bef66ad (diff)
downloademacs-f18d2738318dfa6d999cd4d5d6fb0b471efa3d45.tar.gz
(CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused argument `i' in macros.
Diffstat (limited to 'src/category.h')
-rw-r--r--src/category.h4
1 files changed, 2 insertions, 2 deletions
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)