On Tue, Jul 17, 2018 at 01:18:42PM +0100, Eric Engestrom wrote:
> It will be ignored by x11_swapchain_result() anyway (because reaching
> the `fail` label without setting `result` means the swapchain status was
> already a hard error), but the compiler still complains about reading
> uninitialised
It will be ignored by x11_swapchain_result() anyway (because reaching
the `fail` label without setting `result` means the swapchain status was
already a hard error), but the compiler still complains about reading
uninitialised memory.
While at it, drop the unused assignment right before returning.