projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2d5c0c6
)
[WIN32SS]
author
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 10 Sep 2014 18:49:29 +0000
(18:49 +0000)
committer
Amine Khaldi
<amine.khaldi@reactos.org>
Wed, 10 Sep 2014 18:49:29 +0000
(18:49 +0000)
* Remove unused CompareSpans().
svn path=/trunk/; revision=64110
reactos/win32ss/gdi/eng/clip.c
patch
|
blob
|
history
diff --git
a/reactos/win32ss/gdi/eng/clip.c
b/reactos/win32ss/gdi/eng/clip.c
index
61ffb0d
..
af6de38
100644
(file)
--- a/
reactos/win32ss/gdi/eng/clip.c
+++ b/
reactos/win32ss/gdi/eng/clip.c
@@
-153,40
+153,6
@@
CompareLeftUp(
return Cmp;
}
-static __inline int
-CompareSpans(
- const SPAN *Span1,
- const SPAN *Span2)
-{
- int Cmp;
-
- if (Span1->Y < Span2->Y)
- {
- Cmp = -1;
- }
- else if (Span2->Y < Span1->Y)
- {
- Cmp = +1;
- }
- else
- {
- if (Span1->X < Span2->X)
- {
- Cmp = -1;
- }
- else if (Span2->X < Span1->X)
- {
- Cmp = +1;
- }
- else
- {
- Cmp = 0;
- }
- }
-
- return Cmp;
-}
-
VOID
FASTCALL
IntEngInitClipObj(XCLIPOBJ *Clip)