regcomp.c: Rmv no-longer used variables and code
authorKarl Williamson <public@khwilliamson.com>
Sun, 5 Feb 2012 00:49:10 +0000 (17:49 -0700)
committerKarl Williamson <public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:58 +0000 (10:13 -0700)
regcomp.c

index 157e06e..fb10fc3 100644 (file)
--- a/regcomp.c
+++ b/regcomp.c
@@ -10784,8 +10784,6 @@ parseit:
            }
 
            if (!SIZE_ONLY) {
-               const char *what = NULL;
-               char yesno = 0;
 
                /* Possible truncation here but in some 64-bit environments
                 * the compiler gets heartburn about switch on 64-bit values.
@@ -10994,10 +10992,6 @@ parseit:
                    vFAIL("Invalid [::] class");
                    break;
                }
-               if (what && ! (AT_LEAST_ASCII_RESTRICTED)) {
-                   /* Strings such as "+utf8::isWord\n" */
-                   Perl_sv_catpvf(aTHX_ listsv, "%cutf8::%s\n", yesno, what);
-               }
 
                continue;
            }