On Mon, Sep 21, 2015 at 10:07 PM, Søren Sandmann <[email protected]> wrote:
> Sure. The extra width check can't harm. > Actually it can, because it implies that such values *can* arrive at this function, leading programmers to add tests to the calling functions, thus leading to a large number of tests for conditions that cannot happen. I would prefer to see an assert(width > 0) there.
_______________________________________________ Pixman mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pixman
