diff --git a/gfx/drivers_renderchain/gl_legacy_renderchain.c b/gfx/drivers_renderchain/gl_legacy_renderchain.c index 48603c0a99..2a8859174d 100644 --- a/gfx/drivers_renderchain/gl_legacy_renderchain.c +++ b/gfx/drivers_renderchain/gl_legacy_renderchain.c @@ -82,8 +82,6 @@ void gl2_renderchain_convert_geometry( unsigned last_height, unsigned last_max_height, unsigned vp_width, unsigned vp_height) { - gl_t *gl = (gl_t*)data; - switch (fbo_scale->type_x) { case RARCH_SCALE_INPUT: diff --git a/libretro-common/net/net_compat.c b/libretro-common/net/net_compat.c index eac476dbca..f13d2d02a4 100644 --- a/libretro-common/net/net_compat.c +++ b/libretro-common/net/net_compat.c @@ -396,8 +396,6 @@ const char *inet_ntop_compat(int af, const void *src, char *dst, socklen_t cnt) #else return inet_ntop(af, src, dst, cnt); #endif - - return NULL; } bool udp_send_packet(const char *host, diff --git a/menu/drivers/materialui.c b/menu/drivers/materialui.c index 6d20a71b29..5735f093b1 100644 --- a/menu/drivers/materialui.c +++ b/menu/drivers/materialui.c @@ -1810,6 +1810,7 @@ static void mui_navigation_set(void *data, bool scroll) entry.target_value = scroll_pos; entry.subject = &mui->scroll_y; entry.easing_enum = EASING_IN_OUT_QUAD; + /* TODO/FIXME - integer conversion resulted in change of sign */ entry.tag = -1; entry.cb = NULL; diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 2e5048181f..33219bebe9 100755 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -1687,7 +1687,8 @@ static void xmb_list_switch_horizontal_list(xmb_handle_t *xmb) entry.target_value = ia; entry.subject = &node->alpha; entry.easing_enum = EASING_OUT_QUAD; - entry.tag = -1; + /* TODO/FIXME - integer conversion resulted in change of sign */ + entry.tag = -1; entry.cb = NULL; menu_animation_push(&entry); @@ -1719,6 +1720,7 @@ static void xmb_list_switch(xmb_handle_t *xmb) entry.target_value = xmb->icon.spacing.horizontal * -(float)xmb->categories.selection_ptr; entry.subject = &xmb->categories.x_pos; entry.easing_enum = EASING_OUT_QUAD; + /* TODO/FIXME - integer conversion resulted in change of sign */ entry.tag = -1; entry.cb = NULL; @@ -1784,6 +1786,7 @@ static void xmb_list_open_horizontal_list(xmb_handle_t *xmb) entry.target_value = ia; entry.subject = &node->alpha; entry.easing_enum = EASING_OUT_QUAD; + /* TODO/FIXME - integer conversion resulted in change of sign */ entry.tag = -1; entry.cb = NULL; @@ -2057,6 +2060,7 @@ static void xmb_list_open(xmb_handle_t *xmb) entry.target_value = xmb->icon.size * -(xmb->depth*2-2); entry.subject = &xmb->x; entry.easing_enum = EASING_OUT_QUAD; + /* TODO/FIXME - integer conversion resulted in change of sign */ entry.tag = -1; entry.cb = NULL; @@ -3900,8 +3904,6 @@ static void xmb_list_insert(void *userdata, static void xmb_list_clear(file_list_t *list) { - size_t i; - size_t size = list->size; menu_animation_ctx_tag tag = (uintptr_t)list; menu_animation_ctl(MENU_ANIMATION_CTL_KILL_BY_TAG, &tag); @@ -4152,6 +4154,7 @@ static void xmb_toggle(void *userdata, bool menu_on) entry.target_value = 1.0f; entry.subject = &xmb->alpha; entry.easing_enum = EASING_OUT_QUAD; + /* TODO/FIXME - integer conversion resulted in change of sign */ entry.tag = -1; entry.cb = NULL;