diff --git a/libretro-common/net/net_http.c b/libretro-common/net/net_http.c index bc4aaf62d9..939113a112 100644 --- a/libretro-common/net/net_http.c +++ b/libretro-common/net/net_http.c @@ -170,7 +170,7 @@ void net_http_urlencode_full(char *dest, buf_pos = strlcpy(dest, url_domain, size); dest[buf_pos] = '/'; dest[buf_pos+1] = '\0'; - buf_pos = strlcat(dest, tmp, size); + strlcat(dest, tmp, size); free (tmp); } diff --git a/menu/cbs/menu_cbs_title.c b/menu/cbs/menu_cbs_title.c index f17532d933..5bc02d8f8d 100644 --- a/menu/cbs/menu_cbs_title.c +++ b/menu/cbs/menu_cbs_title.c @@ -150,7 +150,6 @@ static int action_get_title_dropdown_item(const char *path, const char *label, u unsigned visible_index = 0; unsigned option_index = 0; bool option_found = false; - struct core_option *option = NULL; unsigned i; /* Convert menu index to option index */ diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index 05df298a8c..6b3835a59e 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -1942,8 +1942,7 @@ static void materialui_animate_scroll( static void materialui_navigation_set(void *data, bool scroll) { materialui_handle_t *mui = (materialui_handle_t*)data; - menu_animation_ctx_entry_t entry; - + if (!mui || !scroll) return; diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 2a68e873f9..4f77d14322 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -6065,7 +6065,6 @@ static int xmb_pointer_up(void *userdata, menu_entry_t *entry, unsigned action) { xmb_handle_t *xmb = (xmb_handle_t*)userdata; - unsigned header_height = menu_display_get_header_height(); size_t selection = menu_navigation_get_selection(); unsigned end = (unsigned)menu_entries_get_size(); unsigned width; diff --git a/retroarch.c b/retroarch.c index c1a1043695..709d76ea48 100644 --- a/retroarch.c +++ b/retroarch.c @@ -19562,7 +19562,7 @@ static void video_driver_frame(const void *data, unsigned width, last_fps = TIME_TO_FPS(curr_time, new_time, video_info.fps_update_interval); - buf_pos = strlcpy(video_driver_window_title, + strlcpy(video_driver_window_title, video_driver_title_buf, sizeof(video_driver_window_title)); if (!string_is_empty(video_info.fps_text))