Skip to content

Commit b404a7f

Browse files
committed
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.
1 parent 0f3591f commit b404a7f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ Perl_do_vop(pTHX_ I32 optype, SV *sv, SV *left, SV *right)
10181018
STRLEN rightlen;
10191019
const char *lc;
10201020
const char *rc;
1021-
STRLEN len;
1021+
STRLEN len = 0;
10221022
STRLEN lensave;
10231023
const char *lsave;
10241024
const char *rsave;

0 commit comments

Comments
 (0)