From bd80a579dc5650348e78797f8d2c548d0b726c45 Mon Sep 17 00:00:00 2001 From: Christoph Lohmann <20h@r-36.net> Date: Mon, 3 Oct 2011 16:30:45 +0200 Subject: [PATCH] Removing unused variable and silencing the compiler. --- svkbd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/svkbd.c b/svkbd.c index c781f8d..b3ec31e 100644 --- a/svkbd.c +++ b/svkbd.c @@ -261,11 +261,9 @@ initfont(const char *fontstr) { XFreeStringList(missing); } if(dc.font.set) { - XFontSetExtents *font_extents; XFontStruct **xfonts; char **font_names; dc.font.ascent = dc.font.descent = 0; - font_extents = XExtentsOfFontSet(dc.font.set); n = XFontsOfFontSet(dc.font.set, &xfonts, &font_names); for(i = 0, dc.font.ascent = 0, dc.font.descent = 0; i < n; i++) { dc.font.ascent = MAX(dc.font.ascent, (*xfonts)->ascent);