diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-28 23:54:38 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2011-03-28 23:54:38 -0700 |
commit | 8c422c30830f085a5f721b2be6c874adb05ccea8 (patch) | |
tree | 357822ccdde2ec9c4532e596efbb29b998f2657c /lib-src | |
parent | 48011560d73038cbfebfd9d272eabec55005db78 (diff) | |
download | emacs-8c422c30830f085a5f721b2be6c874adb05ccea8.tar.gz |
* 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 @@ +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); } |