aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c6
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)