From b697ff8acdc65aebe2b3bee968e06514308be855 Mon Sep 17 00:00:00 2001 From: Twinaphex Date: Thu, 28 May 2020 23:26:17 +0200 Subject: [PATCH] Remove unused variables --- menu/drivers/materialui.c | 1 - menu/drivers/xmb.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index 8389b4d767..99757af03f 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -2152,7 +2152,6 @@ static void materialui_render_messagebox(materialui_handle_t *mui, int y = 0; int usable_width = 0; int longest_width = 0; - size_t longest_len = 0; struct string_list *list = NULL; char wrapped_message[MENU_SUBLABEL_MAX_LENGTH]; diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index ec1d087572..28124ce1de 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -900,7 +900,7 @@ static void xmb_render_messagebox_internal( xmb_handle_t *xmb, const char *message) { unsigned i, y_position; - int x, y, longest = 0, longest_width = 0; + int x, y, longest_width = 0; float line_height = 0; int usable_width = 0; struct string_list *list = NULL;