Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nx-libs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
dimbor
nx-libs
Commits
c1ed0056
Commit
c1ed0056
authored
Mar 03, 2017
by
Ulrich Sibiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
fbtrap.c
nx-X11/programs/Xserver/fb/fbtrap.c
+0
-2
No files found.
nx-X11/programs/Xserver/fb/fbtrap.c
View file @
c1ed0056
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment