summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConnor Lane Smith <cls@lubutu.com>2011-09-26 22:37:22 +0100
committerConnor Lane Smith <cls@lubutu.com>2011-09-26 22:37:22 +0100
commit0a9c6d02e6219eaf527f87429859b726baa73d27 (patch)
treef0e0b103a592e7d65c4546bacafb82590134ba95
parentaea4a447d4f2d4e8fc92ecb847a34e438c00e327 (diff)
remove unused variable (thanks christoph)
-rw-r--r--tabbed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tabbed.c b/tabbed.c
index 4baec0e..6aa98e4 100644
--- 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);