Commit 21a59c10 authored by Tom Callaway's avatar Tom Callaway Committed by Jeremy Huddleston Sequoia

compiler noise cleanups related to subpixel LCD support

Reviewed-by: Jeremy Huddleston Sequoia's avatarJeremy Huddleston <jeremyhu@apple.com>
parent 6f1d7bcd
......@@ -358,7 +358,7 @@ XftFontLoadGlyphs (Display *dpy,
unsigned char bufLocal[4096];
unsigned char *bufBitmap = bufLocal;
int bufSize = sizeof (bufLocal);
int size, pitch;
int size;
int width;
int height;
int left, right, top, bottom;
......@@ -572,7 +572,6 @@ XftFontLoadGlyphs (Display *dpy,
width = ftbit->width;
height = ftbit->rows;
pitch = (width+3) & ~3;
if (XftDebug() & XFT_DBG_GLYPH)
{
......@@ -674,12 +673,9 @@ XftFontLoadGlyphs (Display *dpy,
/* swap bits in each byte */
if (BitmapBitOrder (dpy) != MSBFirst)
{
unsigned char *line;
unsigned char c;
int i;
unsigned char *line = (unsigned char*)bufBitmap;
int i = size;
line = (unsigned char *) bufBitmap;
i = size;
while (i--)
{
int c = *line;
......
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