In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/b404a7f5880f54fb0673d325408618ab43074309?hp=0f3591f94499f7771d7a8e07afb6776a93fc5f9f>
- Log ----------------------------------------------------------------- commit b404a7f5880f54fb0673d325408618ab43074309 Author: Karl Williamson <[email protected]> Date: Sun Jan 21 17:55:23 2018 -0700 PATCH: [perl #132750] Silence uninit warning I inspected the code, and there is no problem here; it's a compiler mistake. Nevertheless, smply initializing the variable silences it. ----------------------------------------------------------------------- Summary of changes: doop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doop.c b/doop.c index 14b96ed8e0..7cc227faac 100644 --- a/doop.c +++ b/doop.c @@ -1018,7 +1018,7 @@ Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right) STRLEN rightlen; const char *lc; const char *rc; - STRLEN len; + STRLEN len = 0; STRLEN lensave; const char *lsave; const char *rsave; -- Perl5 Master Repository
