projects
/
imager.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add new comparison method rgb_difference that resembles arithmetical difference per...
[imager.git]
/
polygon.c
diff --git
a/polygon.c
b/polygon.c
index db296be983b24a70b2062b170902a4c89c21459c..24b47e58d45b961c22dd41b268eaf7cc29af7b41 100644
(file)
--- a/
polygon.c
+++ b/
polygon.c
@@
-338,6
+338,7
@@
pixel_coverage(p_line *line, pcord minx, pcord maxx, pcord miny, pcord maxy) {
return r;
}
+ /* NOTREACHED */
return 0; /* silence compiler warning */
}
@@
-572,7
+573,7
@@
i_poly_poly_aa_low(i_img *im, int count, const i_polygon_t *polys,
k = 0;
while (k < clc) {
p_line *left = lset + tllist[k++].n;
- p_line *current;
+ p_line *current
= NULL
;
int acc = left->dir;
while (k < clc && acc) {