diff options
author | Karl Williamson <khw@cpan.org> | 2018-01-30 12:34:20 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-01-30 12:48:56 -0700 |
commit | 52e18d8c188e949821d841ea625161e5c0430fa4 (patch) | |
tree | 603fad1b5d7ffdd763cd1887a9d03cd929c7eb8b /regcomp.c | |
parent | 7ab0d5f351890da101d516d631e3f6d6134407aa (diff) | |
download | perl-52e18d8c188e949821d841ea625161e5c0430fa4.tar.gz |
regcomp.c: Silence compiler maybe uninit warnings
I don't believe that actually these can be used uninitialized, but
initialize them anyway to silence the warnings.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18032,7 +18032,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, U8 op = END; /* The optimzation node-type */ int posix_class = -1; /* Illegal value */ const char * cur_parse= RExC_parse; - U8 ANYOFM_mask; + U8 ANYOFM_mask = 0xFF; U32 anode_arg = 0; invlist_iterinit(cp_list); @@ -18204,7 +18204,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, U32 depth, ) { Size_t cp_count = 0; bool first_time = TRUE; - unsigned int lowest_cp; + unsigned int lowest_cp = 0xFF; U8 bits_differing = 0; /* Only needed on EBCDIC, as there, variants and non- are mixed |