summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2008-08-17 15:08:57 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2008-08-17 15:19:19 +0100
commitd5f90a241c24a7f10c8f03d2a830729f85bb2945 (patch)
tree659b1a0fa200d87647ec6fe39086199027e53ca4 /src
parent5109fdb1e6867439d45da5a7cc8effb9bcc75d85 (diff)
[ft-font] Dead store elimination.
Value stored to 'stride' is never read.
Diffstat (limited to 'src')
-rw-r--r--src/cairo-ft-font.c3
1 files changed, 1 insertions, 2 deletions
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;