aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2017-03-03 23:52:20 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-10 19:44:22 +0100
commitc1ed005694f590497f207f94085da593574c63e5 (patch)
tree521e2fbf55bd165eecd61c24a9b7069f5af606ff /nx-X11/programs/Xserver
parente17c42e55fba79c1e265928f85bfd2b6c9908adb (diff)
downloadnx-libs-c1ed005694f590497f207f94085da593574c63e5.tar.gz
nx-libs-c1ed005694f590497f207f94085da593574c63e5.tar.bz2
nx-libs-c1ed005694f590497f207f94085da593574c63e5.zip
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;
Diffstat (limited to 'nx-X11/programs/Xserver')
-rw-r--r--nx-X11/programs/Xserver/fb/fbtrap.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/fb/fbtrap.c b/nx-X11/programs/Xserver/fb/fbtrap.c
index 1940bc209..c9951b00d 100644
--- a/nx-X11/programs/Xserver/fb/fbtrap.c
+++ b/nx-X11/programs/Xserver/fb/fbtrap.c
@@ -110,7 +110,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture,
int height;
int pxoff, pyoff;
- xFixed x_off_fixed;
xFixed y_off_fixed;
RenderEdge l, r;
xFixed t, b;
@@ -125,7 +124,6 @@ fbRasterizeTrapezoid (PicturePtr pPicture,
x_off += pxoff;
y_off += pyoff;
- x_off_fixed = IntToxFixed(x_off);
y_off_fixed = IntToxFixed(y_off);
t = trap->top + y_off_fixed;
if (t < 0)