From 0417a06f2c6b9a1f87c6fe4c124e54346df63b39 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Sat, 2 Feb 2019 11:31:29 +1100 Subject: [PATCH] lint comment for the end of pixel_coverage() not reachable I had compilers complaining about a missing return at the end of the function, as added a return. Coverity complains about the return. CID 185325. --- polygon.c | 1 + 1 file changed, 1 insertion(+) diff --git a/polygon.c b/polygon.c index 54923b47..24b47e58 100644 --- 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 */ } -- 2.39.5