diff options
| author | Joakim Verona | 2012-09-10 16:03:53 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-09-10 16:03:53 +0200 |
| commit | b035a30e5cd2f34fedc04c253eeb5a11afed8145 (patch) | |
| tree | b9350cce389602f4967bdc1beed745929155ad5d /src/regex.c | |
| parent | 4a37733c693d59a9b83a3fb2d0c7f9461d149f60 (diff) | |
| parent | a31a4cdacb196cc96dcb9bd229edb1d635e01344 (diff) | |
| download | emacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.tar.gz emacs-b035a30e5cd2f34fedc04c253eeb5a11afed8145.zip | |
upstream
Diffstat (limited to 'src/regex.c')
| -rw-r--r-- | src/regex.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/regex.c b/src/regex.c index 28813304c8a..472ef727979 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -5160,13 +5160,11 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const re_char *string1, | |||
| 5160 | { | 5160 | { |
| 5161 | /* 1 if this match ends in the same string (string1 or string2) | 5161 | /* 1 if this match ends in the same string (string1 or string2) |
| 5162 | as the best previous match. */ | 5162 | as the best previous match. */ |
| 5163 | boolean same_str_p; | 5163 | boolean same_str_p = (FIRST_STRING_P (match_end) |
| 5164 | == FIRST_STRING_P (d)); | ||
| 5164 | /* 1 if this match is the best seen so far. */ | 5165 | /* 1 if this match is the best seen so far. */ |
| 5165 | boolean best_match_p; | 5166 | boolean best_match_p; |
| 5166 | 5167 | ||
| 5167 | same_str_p = (FIRST_STRING_P (match_end) | ||
| 5168 | == FIRST_STRING_P (d)); | ||
| 5169 | |||
| 5170 | /* AIX compiler got confused when this was combined | 5168 | /* AIX compiler got confused when this was combined |
| 5171 | with the previous declaration. */ | 5169 | with the previous declaration. */ |
| 5172 | if (same_str_p) | 5170 | if (same_str_p) |