diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-09-28 05:52:36 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-10-01 12:51:53 -0700 |
commit | 4ddea69a03520899f0beb1187b9ae3c69f278179 (patch) | |
tree | eefd203f2b521ecf95fadb249bcae1a58f8118b8 /sv.h | |
parent | aec43834c1e29d84920b6d8a41a80fb6c2363487 (diff) | |
download | perl-4ddea69a03520899f0beb1187b9ae3c69f278179.tar.gz |
Stop substr lvalues from being confused by changing UTF8ness
Diffstat (limited to 'sv.h')
-rw-r--r-- | sv.h | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 /* |