diff options
author | Eric Engestrom <[email protected]> | 2018-07-17 13:13:40 +0100 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2018-08-23 14:47:59 +0100 |
commit | 993a456360df6dc40f98bd199d3cbd259dd91a42 (patch) | |
tree | 72f4aa3b4139ba9e17472541d1b249190f80ac84 /bin | |
parent | a0f6a1194464611bd93491c6d066b07db0615f27 (diff) |
vk/wsi: avoid reading uninitialised memory
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.
Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions