summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2017-11-28 07:42:54 +0200
committerJarkko Hietaniemi <jhi@iki.fi>2017-11-28 07:58:20 +0200
commitc89db7331f874451068a6afdaf37f5a015c34053 (patch)
tree738a7ea7c255c5b70208d4a18cb7b8f428eebab0 /toke.c
parentda431b10d911ab57576bc7c7a456e9813fd86afa (diff)
downloadperl-c89db7331f874451068a6afdaf37f5a015c34053.tar.gz
Initialize the variable.
Diffstat (limited to 'toke.c')
-rw-r--r--toke.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/toke.c b/toke.c
index a3d911b1c4..1074e7aed6 100644
--- a/toke.c
+++ b/toke.c
@@ -2895,8 +2895,8 @@ S_scan_const(pTHX_ char *start)
should we have to convert to
UTF-8) */
SV *res; /* result from charnames */
- STRLEN offset_to_max; /* The offset in the output to where the range
- high-end character is temporarily placed */
+ STRLEN offset_to_max = 0; /* The offset in the output to where the range
+ high-end character is temporarily placed */
/* Does something require special handling in tr/// ? This avoids extra
* work in a less likely case. As such, khw didn't feel it was worth