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 memory. > > While at it, drop the unused assignment right before returning. > > Signed-off-by: Eric Engestrom <[email protected]> > --- > src/vulkan/wsi/wsi_common_x11.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]> _______________________________________________ mesa-dev mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-dev
