diff options
| author | Paul Eggert | 2011-03-28 23:54:38 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-28 23:54:38 -0700 |
| commit | 8c422c30830f085a5f721b2be6c874adb05ccea8 (patch) | |
| tree | 357822ccdde2ec9c4532e596efbb29b998f2657c /lib-src | |
| parent | 48011560d73038cbfebfd9d272eabec55005db78 (diff) | |
| download | emacs-8c422c30830f085a5f721b2be6c874adb05ccea8.tar.gz emacs-8c422c30830f085a5f721b2be6c874adb05ccea8.zip | |
* etags.c (just_read_file): Remove dummy variable and simplify.
Diffstat (limited to 'lib-src')
| -rw-r--r-- | lib-src/ChangeLog | 4 | ||||
| -rw-r--r-- | lib-src/etags.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index f594efa588c..1c0c506f0e0 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2011-03-29 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * etags.c (just_read_file): Remove dummy variable and simplify. | ||
| 4 | |||
| 1 | 2011-03-27 Glenn Morris <rgm@gnu.org> | 5 | 2011-03-27 Glenn Morris <rgm@gnu.org> |
| 2 | 6 | ||
| 3 | * emacsclient.c: Replace SIGTYPE with void. | 7 | * 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 | ||