summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2013-03-28 19:56:39 -0600
committerKarl Williamson <public@khwilliamson.com>2013-05-20 08:59:13 -0600
commited47657b3780d1134a2c7d55ab3a81adaeea86c2 (patch)
tree98b98a8895eca33912b8c42aaf9305b9df5445c5 /utf8.c
parent25a4a90c0d533001fabb740974d06b3875d955df (diff)
downloadperl-ed47657b3780d1134a2c7d55ab3a81adaeea86c2.tar.gz
utf8.c: Remove redundant assignment.
This variable is always set just below.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index 2f4035b850..93016f19a3 100644
--- a/utf8.c
+++ b/utf8.c
@@ -3231,7 +3231,6 @@ Perl_swash_fetch(pTHX_ SV *swash, const U8 *ptr, bool do_utf8)
* So the key in the hash (klen) is length of encoded char -1
*/
klen = UTF8SKIP(ptr) - 1;
- off = ptr[klen];
if (klen == 0) {
/* If char is invariant then swatch is for all the invariant chars