diff options
| author | Paul Eggert | 2011-04-04 00:50:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-04 00:50:49 -0700 |
| commit | fca8fe46b72cab72cc06a7b20f6750d641959b7c (patch) | |
| tree | 7ddf9ca170efe07ccaa71977dc71146c65cb4029 /src | |
| parent | e6eb4e9e0471c66eddaece34a90ce0e882a7e747 (diff) | |
| download | emacs-fca8fe46b72cab72cc06a7b20f6750d641959b7c.tar.gz emacs-fca8fe46b72cab72cc06a7b20f6750d641959b7c.zip | |
* syntax.c (scan_words): Remove var that was set but not used.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/syntax.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index a83f79ef2de..d22ec42a978 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2011-04-04 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-04-04 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * syntax.c (scan_words): Remove var that was set but not used. | ||
| 4 | |||
| 3 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. | 5 | * lread.c (lisp_file_lexically_bound_p): Use ints rather than endptrs. |
| 4 | (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. | 6 | (lisp_file_lexically_bound_p, read1): Use unsigned instead of int. |
| 5 | (safe_to_load_p): Make the end-of-loop test the inverse of the in-loop. | 7 | (safe_to_load_p): Make the end-of-loop test the inverse of the in-loop. |
diff --git a/src/syntax.c b/src/syntax.c index 0a1525b54ea..892cec65697 100644 --- a/src/syntax.c +++ b/src/syntax.c | |||
| @@ -1219,7 +1219,7 @@ scan_words (register EMACS_INT from, register EMACS_INT count) | |||
| 1219 | register EMACS_INT from_byte = CHAR_TO_BYTE (from); | 1219 | register EMACS_INT from_byte = CHAR_TO_BYTE (from); |
| 1220 | register enum syntaxcode code; | 1220 | register enum syntaxcode code; |
| 1221 | int ch0, ch1; | 1221 | int ch0, ch1; |
| 1222 | Lisp_Object func, script, pos; | 1222 | Lisp_Object func, pos; |
| 1223 | 1223 | ||
| 1224 | immediate_quit = 1; | 1224 | immediate_quit = 1; |
| 1225 | QUIT; | 1225 | QUIT; |
| @@ -1259,7 +1259,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count) | |||
| 1259 | } | 1259 | } |
| 1260 | else | 1260 | else |
| 1261 | { | 1261 | { |
| 1262 | script = CHAR_TABLE_REF (Vchar_script_table, ch0); | ||
| 1263 | while (1) | 1262 | while (1) |
| 1264 | { | 1263 | { |
| 1265 | if (from == end) break; | 1264 | if (from == end) break; |
| @@ -1310,7 +1309,6 @@ scan_words (register EMACS_INT from, register EMACS_INT count) | |||
| 1310 | } | 1309 | } |
| 1311 | else | 1310 | else |
| 1312 | { | 1311 | { |
| 1313 | script = CHAR_TABLE_REF (Vchar_script_table, ch1); | ||
| 1314 | while (1) | 1312 | while (1) |
| 1315 | { | 1313 | { |
| 1316 | if (from == beg) | 1314 | if (from == beg) |