Re: return value of _cairo_composite_rectangles_intersect()
"Enrico Weigelt, metux IT consult" <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 21.12.2015 18:11, Bill Spitzak wrote: > int status; > status = foo(); > if (status != OK) return status; > status = bar(); > if (status != OK) return status; > status = baz(); > return status; actually, in many places we have >> if (status) return status; should we change that to >> if (status != OK) return status; ? --mtx -- Enrico Weigelt, metux IT consulting +49-151-27565287 -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo