From e2be39f6afd7c24f3436740711fd1aeeb3fce3df Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 18 Mar 2011 19:45:11 -0700 Subject: [PATCH] * xfont.c (xfont_list_family): Mark var as initialized. --- src/ChangeLog | 2 ++ src/xfont.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index dbf5c94a87c..b242465cef3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-03-19 Paul Eggert + * xfont.c (xfont_list_family): Mark var as initialized. + * xml.c (make_dom): Now static. * composite.c (composition_compute_stop_pos): Rename local to diff --git a/src/xfont.c b/src/xfont.c index f8aace3663c..3e0fcd2cd75 100644 --- a/src/xfont.c +++ b/src/xfont.c @@ -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; -- 2.11.4.GIT