Silence some warnings for PS3

This commit is contained in:
twinaphex 2017-09-06 00:21:20 +02:00
parent 674dbfed19
commit 582b688121
4 changed files with 7 additions and 7 deletions

View File

@ -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:

View File

@ -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,

View File

@ -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;

View File

@ -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;