regcomp.c: Remove redundant code
authorKarl Williamson <public@khwilliamson.com>
Mon, 31 Dec 2012 16:03:14 +0000 (09:03 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 31 Dec 2012 18:03:29 +0000 (11:03 -0700)
The statements just above the lines removed by this commit cause the
above-ASCII range to always match, not just under the conditions of the
removed code, so it is redundant.

regcomp.c

index 26024e1..c536adc 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -11924,9 +11924,6 @@ parseit:
 #endif
                         _invlist_union_complement_2nd(posixes,
                                                     PL_ASCII, &posixes);
-                        if (DEPENDS_SEMANTICS) {
-                            ANYOF_FLAGS(ret) |= ANYOF_NON_UTF8_LATIN1_ALL;
-                        }
 #ifdef HAS_ISASCII
                     }
 #endif