diff options
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 3 | ||||
| -rw-r--r-- | lib-src/etags.c | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 67c17cde8cb..6ecfb283ff6 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2013-03-13 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Static checking by Sun C 5.12. | ||
| 4 | * etags.c (analyse_regex): Omit unreachable code. | ||
| 5 | |||
| 3 | * movemail.c (main): Call umask on all systems. | 6 | * movemail.c (main): Call umask on all systems. |
| 4 | This is OK since Emacs already assumes umask elsewhere. | 7 | This is OK since Emacs already assumes umask elsewhere. |
| 5 | Don't grant more read permissions than necessary. | 8 | Don't grant more read permissions than necessary. |
diff --git a/lib-src/etags.c b/lib-src/etags.c index c1e12e95da4..27a853a954a 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -5628,10 +5628,7 @@ analyse_regex (char *regex_arg) | |||
| 5628 | /* regexfile is a file containing regexps, one per line. */ | 5628 | /* regexfile is a file containing regexps, one per line. */ |
| 5629 | regexfp = fopen (regexfile, "r"); | 5629 | regexfp = fopen (regexfile, "r"); |
| 5630 | if (regexfp == NULL) | 5630 | if (regexfp == NULL) |
| 5631 | { | 5631 | pfatal (regexfile); |
| 5632 | pfatal (regexfile); | ||
| 5633 | return; | ||
| 5634 | } | ||
| 5635 | linebuffer_init (®exbuf); | 5632 | linebuffer_init (®exbuf); |
| 5636 | while (readline_internal (®exbuf, regexfp) > 0) | 5633 | while (readline_internal (®exbuf, regexfp) > 0) |
| 5637 | analyse_regex (regexbuf.buffer); | 5634 | analyse_regex (regexbuf.buffer); |