+2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID)
+ (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of
+ wrong_type_argument.
+
2008-02-22 Kenichi Handa <handa@ni.aist.go.jp>
* Makefile.in (lisp): Remove devanagari.el, kannada.el,
#define CHECK_CHARSET(x) \
do { \
if (! SYMBOLP (x) || CHARSET_SYMBOL_HASH_INDEX (x) < 0) \
- x = wrong_type_argument (Qcharsetp, (x)); \
+ wrong_type_argument (Qcharsetp, (x)); \
} while (0)
int idx; \
\
if (! SYMBOLP (x) || (idx = CHARSET_SYMBOL_HASH_INDEX (x)) < 0) \
- x = wrong_type_argument (Qcharsetp, (x)); \
+ wrong_type_argument (Qcharsetp, (x)); \
id = XINT (AREF (HASH_VALUE (XHASH_TABLE (Vcharset_hash_table), idx), \
charset_id)); \
} while (0)
#define CHECK_CHARSET_GET_ATTR(x, attr) \
do { \
if (!SYMBOLP (x) || NILP (attr = CHARSET_SYMBOL_ATTRIBUTES (x))) \
- x = wrong_type_argument (Qcharsetp, (x)); \
+ wrong_type_argument (Qcharsetp, (x)); \
} while (0)