summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2002-02-18 15:43:06 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2002-02-18 15:43:06 +0000
commit7cda7a3d31a79e575b67ef193036e651c34bc524 (patch)
treeabcdcfc833f290da290a21cdaafb395e1522a615 /utf8.c
parent6b6e008c33e4c468fb6c1356921c16cdf5c73b26 (diff)
downloadperl-7cda7a3d31a79e575b67ef193036e651c34bc524.tar.gz
Unused in ASCII, used in EBCDIC.
p4raw-id: //depot/perl@14747
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/utf8.c b/utf8.c
index b1bdeb6892..36a4b259d7 100644
--- a/utf8.c
+++ b/utf8.c
@@ -1319,7 +1319,6 @@ Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, char *norma
(he = hv_fetch_ent(hv, keysv, FALSE, 0)) &&
(val = HeVAL(he))) {
char *s;
- U8 *d;
s = SvPV(val, len);
if (len == 1)
@@ -1329,7 +1328,7 @@ Perl_to_utf8_case(pTHX_ U8 *p, U8* ustrp, STRLEN *lenp, SV **swashp, char *norma
/* If we have EBCDIC we need to remap the characters
* since any characters in the low 256 are Unicode
* code points, not EBCDIC. */
- U8 *t = (U8*)s, *tend = t + len;
+ U8 *t = (U8*)s, *tend = t + len, *d;
d = tmpbuf;
if (SvUTF8(val)) {