* xfont.c (xfont_text_extents): Remove var that was set but not used.
This commit is contained in:
parent
27ccc379bf
commit
bc7b669731
2 changed files with 4 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
2011-04-05 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* xfont.c (xfont_text_extents): Remove var that was set but not used.
|
||||
|
||||
* composite.c (composition_gstring_put_cache): Use unsigned integer.
|
||||
|
||||
2011-04-04 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
|
|
@ -966,11 +966,11 @@ xfont_text_extents (struct font *font, unsigned int *code, int nglyphs, struct f
|
|||
{
|
||||
XFontStruct *xfont = ((struct xfont_info *) font)->xfont;
|
||||
int width = 0;
|
||||
int i, first, x;
|
||||
int i, first;
|
||||
|
||||
if (metrics)
|
||||
memset (metrics, 0, sizeof (struct font_metrics));
|
||||
for (i = 0, x = 0, first = 1; i < nglyphs; i++)
|
||||
for (i = 0, first = 1; i < nglyphs; i++)
|
||||
{
|
||||
XChar2b char2b;
|
||||
static XCharStruct *pcm;
|
||||
|
|
Loading…
Add table
Reference in a new issue