* xfont.c (xfont_list_family): Mark var as initialized.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2011 02:45:11 +0000 (19:45 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Mar 2011 02:45:11 +0000 (19:45 -0700)
src/ChangeLog
src/xfont.c

index dbf5c94..b242465 100644 (file)
@@ -1,5 +1,7 @@
 2011-03-19  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * xfont.c (xfont_list_family): Mark var as initialized.
+
        * xml.c (make_dom): Now static.
 
        * composite.c (composition_compute_stop_pos): Rename local to
index f8aace3..3e0fcd2 100644 (file)
@@ -629,7 +629,7 @@ xfont_list_family (Lisp_Object frame)
   char **names;
   int num_fonts, i;
   Lisp_Object list;
-  char *last_family;
+  char *last_family IF_LINT (= 0);
   int last_len;
 
   BLOCK_INPUT;