[PATCH weston] libweston: drop return type from ::query_dmabuf_{formats, modifiers}

Daniel Stone daniel at fooishbar.org
Mon Dec 11 09:40:53 UTC 2017


Hi Emil,

On 5 December 2017 at 14:26, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> Nobody checks for the bool returned by these functions. At the same
> time: a) the functions set the respective num_foo to zero on error and
> b) callers honour that variable.
>
> Just drop the return type - it's useless.

Reviewed and pushed, thanks!

Cheers,
Daniel


More information about the wayland-devel mailing list