summaryrefslogtreecommitdiff
path: root/sv.h
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-09-28 05:52:36 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-10-01 12:51:53 -0700
commit4ddea69a03520899f0beb1187b9ae3c69f278179 (patch)
treeeefd203f2b521ecf95fadb249bcae1a58f8118b8 /sv.h
parentaec43834c1e29d84920b6d8a41a80fb6c2363487 (diff)
downloadperl-4ddea69a03520899f0beb1187b9ae3c69f278179.tar.gz
Stop substr lvalues from being confused by changing UTF8ness
Diffstat (limited to 'sv.h')
-rw-r--r--sv.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sv.h b/sv.h
index 2ac6c506bf..c2b0f57ea1 100644
--- a/sv.h
+++ b/sv.h
@@ -1823,10 +1823,6 @@ mg.c:1024: warning: left-hand operand of comma expression has no effect
(SvGAMAGIC(sv) \
? utf8_length((U8 *)(pv), (U8 *)(pv)+(bytelen)) \
: sv_len_utf8(sv))
-# define sv_or_pv_pos_u2b(sv, pv, pos) \
- (SvGAMAGIC(sv) \
- ? (STRLEN)(utf8_hop((U8 *)(pv), pos) - (U8 *)(pv)) \
- : sv_pos_u2b_flags(sv,pos,0,0))
#endif
/*