* composite.c (composition_update_it): Mark var as initialized.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2011 00:58:10 +0000 (17:58 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2011 00:58:10 +0000 (17:58 -0700)
src/ChangeLog
src/composite.c

index fa16bab..ca10b31 100644 (file)
@@ -4,6 +4,7 @@
        avoid shadowing.
        (composition_reseat_it): Remove unused locals.
        (find_automatic_composition, composition_adjust_point): Likewise.
+       (composition_update_it): Mark var as initialized.
 
 2011-03-18  Paul Eggert  <eggert@cs.ucla.edu>
 
index 86a53f9..ee2e843 100644 (file)
@@ -1364,7 +1364,7 @@ composition_reseat_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_I
 int
 composition_update_it (struct composition_it *cmp_it, EMACS_INT charpos, EMACS_INT bytepos, Lisp_Object string)
 {
-  int i, c;
+  int i, c IF_LINT (= 0);
 
   if (cmp_it->ch < 0)
     {