diff options
| author | Paul Eggert | 2011-01-16 23:34:14 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-01-16 23:34:14 -0800 |
| commit | 8865d794dcf18371e6a0727588ee92ac76e04856 (patch) | |
| tree | 91e34c71e14f10ad6e2f83e2a62046c7892e1ca0 /src | |
| parent | 4ef36a7b4c2107306387bece0843a4a1f2bcb552 (diff) | |
| download | emacs-8865d794dcf18371e6a0727588ee92ac76e04856.tar.gz emacs-8865d794dcf18371e6a0727588ee92ac76e04856.zip | |
* regex.c (analyse_first): Remove unreachable 'continue' statement.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/regex.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 4b9fe9b13dc..41f6f72c662 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-01-17 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-01-17 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * regex.c (analyse_first): Remove unreachable 'continue' statement. | ||
| 4 | |||
| 3 | * xterm.h (struct x_display_info): Remove stray semicolon. | 5 | * xterm.h (struct x_display_info): Remove stray semicolon. |
| 4 | The extra semicolon didn't conform to the C standard. | 6 | The extra semicolon didn't conform to the C standard. |
| 5 | Problem reported by Sun cc. | 7 | Problem reported by Sun cc. |
diff --git a/src/regex.c b/src/regex.c index 318b8fe74b5..28336eba417 100644 --- a/src/regex.c +++ b/src/regex.c | |||
| @@ -3999,7 +3999,6 @@ analyse_first (const re_char *p, const re_char *pend, char *fastmap, const int m | |||
| 3999 | { | 3999 | { |
| 4000 | case succeed: | 4000 | case succeed: |
| 4001 | return 1; | 4001 | return 1; |
| 4002 | continue; | ||
| 4003 | 4002 | ||
| 4004 | case duplicate: | 4003 | case duplicate: |
| 4005 | /* If the first character has to match a backreference, that means | 4004 | /* If the first character has to match a backreference, that means |
| @@ -6735,4 +6734,3 @@ regfree (regex_t *preg) | |||
| 6735 | WEAK_ALIAS (__regfree, regfree) | 6734 | WEAK_ALIAS (__regfree, regfree) |
| 6736 | 6735 | ||
| 6737 | #endif /* not emacs */ | 6736 | #endif /* not emacs */ |
| 6738 | |||