* regex.c (re_iswctype): Remove some redundant boolean conversions.

This commit is contained in:
Andreas Schwab 2011-08-04 16:25:21 +02:00
parent 99aaf75f7c
commit 213bd7f2f1
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-08-04 Andreas Schwab <schwab@linux-m68k.org>
* regex.c (re_iswctype): Remove some redundant boolean
conversions.
2011-08-04 Jan Djärv <jan.h.d@swipnet.se>
* xterm.c (x_find_topmost_parent): New function.

View file

@ -2106,9 +2106,9 @@ re_iswctype (int ch, re_wctype_t cc)
case RECC_UPPER: return ISUPPER (ch) != 0;
case RECC_XDIGIT: return ISXDIGIT (ch) != 0;
case RECC_ASCII: return IS_REAL_ASCII (ch) != 0;
case RECC_NONASCII: return !IS_REAL_ASCII (ch) != 0;
case RECC_NONASCII: return !IS_REAL_ASCII (ch);
case RECC_UNIBYTE: return ISUNIBYTE (ch) != 0;
case RECC_MULTIBYTE: return !ISUNIBYTE (ch) != 0;
case RECC_MULTIBYTE: return !ISUNIBYTE (ch);
case RECC_WORD: return ISWORD (ch) != 0;
case RECC_ERROR: return false;
default: