Commit bc7b6697 authored by Paul Eggert's avatar Paul Eggert
Browse files

* xfont.c (xfont_text_extents): Remove var that was set but not used.

parent 27ccc379
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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment