Peter Maydell 6ff5b5d6d5 ui/sdl2: Check return value from g_setenv()
Setting environment variables can fail; check the return value
from g_setenv() and bail out if we couldn't set SDL_VIDEODRIVER.

Fixes: Coverity 1458798
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20210809161424.32355-1-peter.maydell@linaro.org>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2021-08-10 10:56:39 +02:00
..
2021-06-23 14:26:04 +02:00
2021-07-26 10:24:49 +02:00
2021-05-21 09:42:44 +02:00
2021-08-10 10:39:46 +02:00
2021-05-21 09:42:44 +02:00
2021-05-21 09:42:44 +02:00
2021-05-21 09:42:44 +02:00