Skip to content

Commit

Permalink
regcomp.c: Initialize a variable
Browse files Browse the repository at this point in the history
to silence some compiler's that were warning
  • Loading branch information
khwilliamson authored and hvds committed Jun 1, 2021
1 parent 4afafbc commit 1f189e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regcomp.c
Expand Up @@ -19305,7 +19305,7 @@ S_optimize_regclass(pTHX_

U8 op = END; /* The returned node-type, initialized to an impossible
one. */
UV value;
UV value = 0;
PERL_UINT_FAST8_T i;
UV partial_cp_count = 0;
UV start[MAX_FOLD_FROMS+1] = { 0 }; /* +1 for the folded-to char */
Expand Down

0 comments on commit 1f189e6

Please sign in to comment.