From: Tony Cook Date: Sat, 2 Feb 2019 00:31:29 +0000 (+1100) Subject: lint comment for the end of pixel_coverage() not reachable X-Git-Tag: v1.010~15 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/0417a06f2c6b9a1f87c6fe4c124e54346df63b39?ds=sidebyside 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. --- 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 */ }