[cairo] return value of _cairo_composite_rectangles_intersect()
Enrico Weigelt, metux IT consult
enrico.weigelt at gr13.net
Mon Dec 21 09:59:47 PST 2015
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
More information about the cairo
mailing list