diff options
| -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 @@ +2011-03-29 Paul Eggert <eggert@cs.ucla.edu> + + * etags.c (just_read_file): Remove dummy variable and simplify. + 2011-03-27 Glenn Morris <rgm@gnu.org> * 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) static void just_read_file (FILE *inf) { - register char *dummy; - - LOOP_ON_INPUT_LINES (inf, lb, dummy) - continue; + while (!feof (inf)) + readline (&lb, inf); } |
