Commit c1ed0056 authored by Ulrich Sibiller's avatar Ulrich Sibiller

fb: fix compiler warning

fbtrap.c: In function ‘fbRasterizeTrapezoid’: fbtrap.c:113:12: warning: variable ‘x_off_fixed’ set but not used [-Wunused-but-set-variable] xFixed x_off_fixed;
parent e17c42e5
...@@ -110,7 +110,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture, ...@@ -110,7 +110,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture,
int height; int height;
int pxoff, pyoff; int pxoff, pyoff;
xFixed x_off_fixed;
xFixed y_off_fixed; xFixed y_off_fixed;
RenderEdge l, r; RenderEdge l, r;
xFixed t, b; xFixed t, b;
...@@ -125,7 +124,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture, ...@@ -125,7 +124,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture,
x_off += pxoff; x_off += pxoff;
y_off += pyoff; y_off += pyoff;
x_off_fixed = IntToxFixed(x_off);
y_off_fixed = IntToxFixed(y_off); y_off_fixed = IntToxFixed(y_off);
t = trap->top + y_off_fixed; t = trap->top + y_off_fixed;
if (t < 0) if (t < 0)
......
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