Sergey Mironov fb93569e42 ui: Replacing pointer in function
At the end of the first if we see 'vc->gfx.surface = NULL;',
further checking of it is pointless. In the second if, ectx is taken.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Co-developed-by: Linux Verification Center <sdl.qemu@linuxtesting.org>
Signed-off-by: Sergey Mironov <mironov@fintech.ru>
Message-ID: <20231012104448.1251039-1-mironov@fintech.ru>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2023-11-07 11:45:48 +04:00
..
2023-06-27 17:08:56 +02:00
2021-12-21 10:50:22 +04:00
2021-12-21 10:50:22 +04:00
2023-06-27 17:08:56 +02:00
2023-11-07 11:45:48 +04:00
2022-05-03 15:52:37 +04:00
2019-08-16 13:31:52 +02:00
2023-08-31 19:47:43 +02:00
2023-08-31 19:47:43 +02:00
2022-03-14 15:16:16 +04:00
2023-10-20 08:51:41 +02:00
2023-10-20 06:46:53 -07:00
2022-11-08 10:23:06 +01:00
2022-11-08 10:23:06 +01:00
2023-08-31 19:47:43 +02:00
2021-01-23 15:55:07 -05:00
2023-06-05 20:48:34 +02:00