This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e80eb2
)
regcomp.c: Rmv no-longer used variables and code
author
Karl Williamson
<public@khwilliamson.com>
Sun, 5 Feb 2012 00:49:10 +0000
(17:49 -0700)
committer
Karl Williamson
<public@khwilliamson.com>
Thu, 9 Feb 2012 17:13:58 +0000
(10:13 -0700)
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/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;
}