From 2a7874547046a6215ff7c679dcfc6b5ce8acacd1 Mon Sep 17 00:00:00 2001 From: orbea <orbea@fredslev.dk> Date: Fri, 15 Feb 2019 09:06:45 -0800 Subject: [PATCH] Silence C89 warnings. --- menu/drivers/ozone/ozone_sidebar.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/menu/drivers/ozone/ozone_sidebar.c b/menu/drivers/ozone/ozone_sidebar.c index 57e35ad157..19162c58e7 100644 --- a/menu/drivers/ozone/ozone_sidebar.c +++ b/menu/drivers/ozone/ozone_sidebar.c @@ -106,7 +106,8 @@ unsigned ozone_system_tabs_icons[OZONE_SYSTEM_TAB_LAST] = { void ozone_draw_sidebar(ozone_handle_t *ozone, video_frame_info_t *video_info) { size_t y; - unsigned i, sidebar_height; + int entry_width; + unsigned i, sidebar_height, selection_y, selection_old_y, horizontal_list_size; char console_title[255]; menu_animation_ctx_ticker_t ticker; static const char ticker_spacer[] = "\u2003\u2022\u2003"; /* <EM SPACE><BULLET><EM SPACE> */ @@ -116,11 +117,11 @@ void ozone_draw_sidebar(ozone_handle_t *ozone, video_frame_info_t *video_info) ticker.type_enum = settings->uints.menu_ticker_type; ticker.spacer = ticker_spacer; - unsigned selection_y = 0; - unsigned selection_old_y = 0; - unsigned horizontal_list_size = 0; + selection_y = 0; + selection_old_y = 0; + horizontal_list_size = 0; - int entry_width = 0; + entry_width = 0; if (!ozone->draw_sidebar) return;