commit 0a9c6d02e6219eaf527f87429859b726baa73d27
parent aea4a447d4f2d4e8fc92ecb847a34e438c00e327
Author: Connor Lane Smith <[email protected]>
Date: Mon, 26 Sep 2011 22:37:22 +0100
remove unused variable (thanks christoph)
Diffstat:
1 file changed, 0 insertions(+), 2 deletions(-)
diff --git a/tabbed.c b/tabbed.c
@@ -487,11 +487,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);