diff options
author | Karl Williamson <public@khwilliamson.com> | 2011-11-12 08:45:40 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2011-11-12 09:17:10 -0700 |
commit | b7576bcb309ba314f0b2e2ff3a1fc7243ef6abac (patch) | |
tree | 91640f0de593a991a7d040b405218995fd2a1ad7 /pp.c | |
parent | 1a234f2b79fabe425b0df2ff182071f89486689a (diff) | |
download | perl-b7576bcb309ba314f0b2e2ff3a1fc7243ef6abac.tar.gz |
pp.c: Make sure variable is initialized
A compiler generated a warning about this. It is the degenerate case
with an empty input, so isn't really a problem, but silence the warning
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -3486,6 +3486,7 @@ PP(pp_ucfirst) if (! slen) { /* If empty */ need = 1; /* still need a trailing NUL */ + ulen = 0; } else if (DO_UTF8(source)) { /* Is the source utf8? */ doing_utf8 = TRUE; |