[hackers] [tabbed] remove unused variable (thanks christoph) || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Mon, 26 Sep 2011 23:40:14 +0200 (CEST)

changeset: 146:83dfab8f4285
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Mon Sep 26 22:37:22 2011 +0100
files: tabbed.c
description:
remove unused variable (thanks christoph)

diff -r f62e19bd0057 -r 83dfab8f4285 tabbed.c
--- a/tabbed.c Mon Sep 26 22:36:33 2011 +0100
+++ b/tabbed.c Mon Sep 26 22:37:22 2011 +0100
@@ -487,11 +487,9 @@
                 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);
Received on Mon Sep 26 2011 - 23:40:14 CEST

This archive was generated by hypermail 2.2.0 : Mon Sep 26 2011 - 23:48:05 CEST