diff options
author | Peter Maydell | 2021-08-09 18:14:24 +0200 |
---|---|---|
committer | Gerd Hoffmann | 2021-08-10 10:56:39 +0200 |
commit | 6ff5b5d6d521001135d1bd5c609e8834099f01d8 (patch) | |
tree | 48c94b752e4ba1f2346b6d2329d02a515ef9cfc7 /hw/usb/core.c | |
parent | audio: Never send migration section (diff) | |
download | qemu-6ff5b5d6d521001135d1bd5c609e8834099f01d8.tar.gz qemu-6ff5b5d6d521001135d1bd5c609e8834099f01d8.tar.xz qemu-6ff5b5d6d521001135d1bd5c609e8834099f01d8.zip |
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>
Diffstat (limited to 'hw/usb/core.c')
0 files changed, 0 insertions, 0 deletions