diff options
| author | Paul Eggert | 2011-03-15 11:43:04 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-15 11:43:04 -0700 |
| commit | da053e48b16db6fa8dedd72d9d7f80c392259193 (patch) | |
| tree | 74b68758f893030b98e906398f735c3db25d8229 /src/regex.c | |
| parent | 952db0d7ad3872dd675d23f7e60ae3298a8d8d52 (diff) | |
| download | emacs-da053e48b16db6fa8dedd72d9d7f80c392259193.tar.gz emacs-da053e48b16db6fa8dedd72d9d7f80c392259193.zip | |
* regex.c (regex_compile, re_match_2_internal): Mark locals as initialized.
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/regex.c b/src/regex.c index 9c950a42b22..6c6aa03e437 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -2576,9 +2576,9 @@ regex_compile (const re_char *pattern, size_t size, reg_syntax_t syntax, struct | |||
| 2576 | 2576 | ||
| 2577 | /* These hold the values of p, pattern, and pend from the main | 2577 | /* These hold the values of p, pattern, and pend from the main |
| 2578 | pattern when we have pushed into a subpattern. */ | 2578 | pattern when we have pushed into a subpattern. */ |
| 2579 | re_char *main_p; | 2579 | re_char *main_p IF_LINT (= NULL); |
| 2580 | re_char *main_pattern; | 2580 | re_char *main_pattern IF_LINT (= NULL); |
| 2581 | re_char *main_pend; | 2581 | re_char *main_pend IF_LINT (= NULL); |
| 2582 | 2582 | ||
| 2583 | #ifdef DEBUG | 2583 | #ifdef DEBUG |
| 2584 | debug++; | 2584 | debug++; |
| @@ -5533,7 +5533,7 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const re_char *string1, int | |||
| 5533 | 5533 | ||
| 5534 | /* Start of actual range_table, or end of bitmap if there is no | 5534 | /* Start of actual range_table, or end of bitmap if there is no |
| 5535 | range table. */ | 5535 | range table. */ |
| 5536 | re_char *range_table; | 5536 | re_char *range_table IF_LINT (= NULL); |
| 5537 | 5537 | ||
| 5538 | /* Nonzero if there is a range table. */ | 5538 | /* Nonzero if there is a range table. */ |
| 5539 | int range_table_exists; | 5539 | int range_table_exists; |