From d5f90a241c24a7f10c8f03d2a830729f85bb2945 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Sun, 17 Aug 2008 15:08:57 +0100 Subject: [ft-font] Dead store elimination. Value stored to 'stride' is never read. --- src/cairo-ft-font.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/cairo-ft-font.c b/src/cairo-ft-font.c index e1430534..0b75243e 100644 --- a/src/cairo-ft-font.c +++ b/src/cairo-ft-font.c @@ -1187,7 +1187,7 @@ _render_glyph_outline (FT_Face face, FT_Outline *outline = &glyphslot->outline; FT_Bitmap bitmap; FT_BBox cbox; - unsigned int width, height, stride; + unsigned int width, height; cairo_status_t status; FT_Error fterror; FT_Library library = glyphslot->library; @@ -1244,7 +1244,6 @@ _render_glyph_outline (FT_Face face, width = (unsigned int) ((cbox.xMax - cbox.xMin) >> 6); height = (unsigned int) ((cbox.yMax - cbox.yMin) >> 6); - stride = (width + 3) & ~3; if (width * height == 0) { cairo_format_t format; -- cgit v1.2.3