Skip to content

Commit

Permalink
regcomp.c: Initialize a variable
Browse files Browse the repository at this point in the history
to silence some compilers that were warning
  • Loading branch information
khwilliamson committed Aug 7, 2021
1 parent e145861 commit 5f3093a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regcomp.c
Expand Up @@ -19320,7 +19320,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 5f3093a

Please sign in to comment.