mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-27 03:40:40 +02:00
[ft-font] Dead store elimination.
Value stored to 'stride' is never read.
This commit is contained in:
parent
5109fdb1e6
commit
d5f90a241c
1 changed files with 1 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue