From: Chong Yidong Date: Wed, 3 Dec 2008 05:00:52 +0000 (+0000) Subject: (ftfont_list_family): Initialize list var earlier. X-Git-Tag: emacs-pretest-23.0.90~1325 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=76d126ecc52f1903bb5e1dba5ba7a1fda8da92fa;p=emacs.git (ftfont_list_family): Initialize list var earlier. --- diff --git a/src/ftfont.c b/src/ftfont.c index c4463fa5c55..23f6a3672d5 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -970,7 +970,7 @@ static Lisp_Object ftfont_list_family (frame) Lisp_Object frame; { - Lisp_Object list; + Lisp_Object list = Qnil; FcPattern *pattern = NULL; FcFontSet *fontset = NULL; FcObjectSet *objset = NULL; @@ -992,7 +992,6 @@ ftfont_list_family (frame) if (! fontset) goto finish; - list = Qnil; for (i = 0; i < fontset->nfont; i++) { FcPattern *pat = fontset->fonts[i];