diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/composite.c | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ca10b31305d..f856a24fbdd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | (composition_reseat_it): Remove unused locals. | 5 | (composition_reseat_it): Remove unused locals. |
| 6 | (find_automatic_composition, composition_adjust_point): Likewise. | 6 | (find_automatic_composition, composition_adjust_point): Likewise. |
| 7 | (composition_update_it): Mark var as initialized. | 7 | (composition_update_it): Mark var as initialized. |
| 8 | (find_automatic_composition): Mark vars as initialized, with a FIXME. | ||
| 8 | 9 | ||
| 9 | 2011-03-18 Paul Eggert <eggert@cs.ucla.edu> | 10 | 2011-03-18 Paul Eggert <eggert@cs.ucla.edu> |
| 10 | 11 | ||
diff --git a/src/composite.c b/src/composite.c index ee2e843b729..bc5644a4612 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1489,7 +1489,13 @@ find_automatic_composition (EMACS_INT pos, EMACS_INT limit, EMACS_INT *start, EM | |||
| 1489 | EMACS_INT head, tail, stop; | 1489 | EMACS_INT head, tail, stop; |
| 1490 | /* Limit to check a composition after POS. */ | 1490 | /* Limit to check a composition after POS. */ |
| 1491 | EMACS_INT fore_check_limit; | 1491 | EMACS_INT fore_check_limit; |
| 1492 | struct position_record orig, cur, check, prev; | 1492 | struct position_record orig, cur; |
| 1493 | |||
| 1494 | /* FIXME: It's not obvious whether these two variables need initialization. | ||
| 1495 | If they do, please supply initial values. | ||
| 1496 | If not, please remove this comment. */ | ||
| 1497 | struct position_record check IF_LINT (= {0}), prev IF_LINT (= {0}); | ||
| 1498 | |||
| 1493 | Lisp_Object check_val, val, elt; | 1499 | Lisp_Object check_val, val, elt; |
| 1494 | int c; | 1500 | int c; |
| 1495 | Lisp_Object window; | 1501 | Lisp_Object window; |