From 6d8e8ef35c83407aafddc7130456ee207a91a48b Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Wed, 22 Dec 1999 12:11:42 +0000 Subject: [PATCH] (clear_font_table): Don't use uninitialized local variable in xassert. --- src/ChangeLog | 7 ++++++- src/xfaces.c | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 3b46fdb1488..193684fab36 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,7 +1,12 @@ +1999-12-22 Gerd Moellmann + + * xfaces.c (clear_font_table): Don't use uninitialized local + variable in xassert. + 1999-12-22 Kenichi Handa * xfaces.c (face_color_supported_p): Check by tty_defined_color - only when the frame is not window. + only when the frame is not for a window system. 1999-12-22 Gerd Moellmann diff --git a/src/xfaces.c b/src/xfaces.c index 5bccdc4baac..cdb1612f048 100644 --- a/src/xfaces.c +++ b/src/xfaces.c @@ -778,7 +778,7 @@ clear_font_table (f) Lisp_Object rest, frame; int i; - xassert (FRAME_X_P (f)); + xassert (FRAME_X_P (c->f)); used = (char *) alloca (dpyinfo->n_fonts * sizeof *used); bzero (used, dpyinfo->n_fonts * sizeof *used); -- 2.39.5