diff options
| author | Paul Eggert | 2011-03-18 17:58:10 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-18 17:58:10 -0700 |
| commit | 80e079b231d97294c2c0cbd00a8d0e68c9586d36 (patch) | |
| tree | f9a3ded1f3e407dc84098881ff0c65ebe7224058 | |
| parent | b246f9329c26a1174f760d345927d740aaac364b (diff) | |
| download | emacs-80e079b231d97294c2c0cbd00a8d0e68c9586d36.tar.gz emacs-80e079b231d97294c2c0cbd00a8d0e68c9586d36.zip | |
* composite.c (composition_update_it): Mark var as initialized.
| -rw-r--r-- | src/ChangeLog | 1 | ||||
| -rw-r--r-- | src/composite.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index fa16bab29c9..ca10b31305d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -4,6 +4,7 @@ | |||
| 4 | avoid shadowing. | 4 | avoid shadowing. |
| 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 | 8 | ||
| 8 | 2011-03-18 Paul Eggert <eggert@cs.ucla.edu> | 9 | 2011-03-18 Paul Eggert <eggert@cs.ucla.edu> |
| 9 | 10 | ||
diff --git a/src/composite.c b/src/composite.c index 86a53f91c97..ee2e843b729 100644 --- a/src/composite.c +++ b/src/composite.c | |||
| @@ -1364,7 +1364,7 @@ composition_reseat_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I | |||
| 1364 | int | 1364 | int |
| 1365 | composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_INT bytepos, Lisp_Object string) | 1365 | composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_INT bytepos, Lisp_Object string) |
| 1366 | { | 1366 | { |
| 1367 | int i, c; | 1367 | int i, c IF_LINT (= 0); |
| 1368 | 1368 | ||
| 1369 | if (cmp_it->ch < 0) | 1369 | if (cmp_it->ch < 0) |
| 1370 | { | 1370 | { |