diff options
| author | Paul Eggert | 2011-03-29 17:39:12 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-29 17:39:12 -0700 |
| commit | 77861b9528e3fbb5f406267ff298a95009530b7f (patch) | |
| tree | d7eb3886831322f956d997d7bd10d034dfca5839 /lib-src | |
| parent | d806ab682a8e914345db3f2eede292f85745c98c (diff) | |
| parent | de6dbc14a72347f3f2a3b4f0bf3c39d6f69a425e (diff) | |
| download | emacs-77861b9528e3fbb5f406267ff298a95009530b7f.tar.gz emacs-77861b9528e3fbb5f406267ff298a95009530b7f.zip | |
Fix more problems found by GCC 4.6.0's static checks.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 5 | ||||
| -rw-r--r-- | lib-src/etags.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f594efa588c..5007995e14e 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-03-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Fix a problem found by GCC 4.6.0's static checks. | ||
| 4 | * etags.c (just_read_file): Remove dummy variable and simplify. | ||
| 5 | |||
| 1 | 2011-03-27 Glenn Morris <rgm@gnu.org> | 6 | 2011-03-27 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * emacsclient.c: Replace SIGTYPE with void. | 8 | * emacsclient.c: Replace SIGTYPE with void. |
diff --git a/lib-src/etags.c b/lib-src/etags.c index 6cb321fe75e..a2cdf26abc7 100644 --- a/lib-src/etags.c +++ b/lib-src/etags.c | |||
| @@ -3978,10 +3978,8 @@ Yacc_entries (FILE *inf) | |||
| 3978 | static void | 3978 | static void |
| 3979 | just_read_file (FILE *inf) | 3979 | just_read_file (FILE *inf) |
| 3980 | { | 3980 | { |
| 3981 | register char *dummy; | 3981 | while (!feof (inf)) |
| 3982 | 3982 | readline (&lb, inf); | |
| 3983 | LOOP_ON_INPUT_LINES (inf, lb, dummy) | ||
| 3984 | continue; | ||
| 3985 | } | 3983 | } |
| 3986 | 3984 | ||
| 3987 | 3985 | ||