]> git.eshelyaron.com Git - emacs.git/commitdiff
* 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 dbf5c94a87cd20c3d376465afff74b6d0d9e9162..b242465cef3d7c0368e05221626c51a6ceb134f7 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 f8aace3663c7eaee906d23c69d9a6b5b6e186b06..3e0fcd2cd7506df66e95df288ea58ef457f7f9ce 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;