Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Message-Id: <[email protected]> Signed-off-by: Gerd Hoffmann <[email protected]>
- Loading branch information