From 1fa08e327bff8c6b0e1fc5dbd11b8aea233a80ed Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 4 Jan 2017 09:15:11 +0100 Subject: [PATCH] Silence some warnings about uninitialised values --- menu/drivers/xmb.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 50e702c9f1..107185476b 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1589,6 +1589,7 @@ static void xmb_init_horizontal_list(xmb_handle_t *xmb) info.need_push = false; info.push_builtin_cores = false; info.download_core = false; + info.need_clear = false; info.need_navigation_clear = false; info.list = xmb->horizontal_list; info.menu_list = NULL; @@ -1701,9 +1702,10 @@ static void xmb_context_reset_horizontal_list( file_path_str(FILE_PATH_PNG_EXTENSION), sizeof(texturepath)); - ti.width = 0; - ti.height = 0; - ti.pixels = NULL; + ti.width = 0; + ti.height = 0; + ti.pixels = NULL; + ti.supports_rgba = video_driver_supports_rgba(); if (image_texture_load(&ti, texturepath)) {