mirror of
https://github.com/libretro/RetroArch
synced 2025-02-28 22:13:51 +00:00
Remove unused variables
This commit is contained in:
parent
0cd1843bc2
commit
419eb5a6c0
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user