From: Paul Eggert Date: Sat, 19 Mar 2011 00:18:31 +0000 (-0700) Subject: * composite.c (composition_reseat_it): Remove unused locals. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~513^2~44 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b246f9329c26a1174f760d345927d740aaac364b;p=emacs.git * composite.c (composition_reseat_it): Remove unused locals. (find_automatic_composition, composition_adjust_point): Likewise. --- diff --git a/src/ChangeLog b/src/ChangeLog index 1aa87aec661..fa16bab29c9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,8 @@ * composite.c (composition_compute_stop_pos): Rename local to avoid shadowing. + (composition_reseat_it): Remove unused locals. + (find_automatic_composition, composition_adjust_point): Likewise. 2011-03-18 Paul Eggert diff --git a/src/composite.c b/src/composite.c index ddb0004b15b..86a53f91c97 100644 --- a/src/composite.c +++ b/src/composite.c @@ -1248,8 +1248,8 @@ composition_reseat_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I else if (w) { Lisp_Object lgstring = Qnil; - Lisp_Object val, elt, re; - int len, i; + Lisp_Object val, elt; + int i; val = CHAR_TABLE_REF (Vcomposition_function_table, cmp_it->ch); for (i = 0; i < cmp_it->rule_idx; i++, val = XCDR (val)); @@ -1491,7 +1491,6 @@ find_automatic_composition (EMACS_INT pos, EMACS_INT limit, EMACS_INT *start, EM EMACS_INT fore_check_limit; struct position_record orig, cur, check, prev; Lisp_Object check_val, val, elt; - int check_lookback; int c; Lisp_Object window; struct window *w; @@ -1657,7 +1656,7 @@ find_automatic_composition (EMACS_INT pos, EMACS_INT limit, EMACS_INT *start, EM EMACS_INT composition_adjust_point (EMACS_INT last_pt, EMACS_INT new_pt) { - EMACS_INT charpos, bytepos, startpos, beg, end, pos; + EMACS_INT beg, end; Lisp_Object val; int i;