mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-02 06:53:39 +00:00
(PS3) Cleanup warnings
This commit is contained in:
parent
c8f1125e20
commit
20cc877ad3
5
driver.c
5
driver.c
@ -134,10 +134,9 @@ static int driver_find_index(const char * label, const char *drv)
|
||||
{
|
||||
unsigned i;
|
||||
char str[256];
|
||||
const void *obj = NULL;
|
||||
|
||||
for (i = 0; (obj = (const void*)
|
||||
find_driver_nonempty(label, i, str, sizeof(str))) != NULL; i++)
|
||||
for (i = 0;
|
||||
find_driver_nonempty(label, i, str, sizeof(str)) != NULL; i++)
|
||||
{
|
||||
if (string_is_empty(str))
|
||||
break;
|
||||
|
@ -167,7 +167,6 @@ static void dump_content(RFILE *file, const void *frame,
|
||||
if(pad != 0)
|
||||
filestream_write(file, &zeros, pad);
|
||||
}
|
||||
return;
|
||||
}
|
||||
break;
|
||||
case RBMP_SOURCE_TYPE_ARGB8888:
|
||||
|
@ -113,13 +113,15 @@ bool image_transfer_start(void *data, enum image_type_enum type)
|
||||
case IMAGE_TYPE_JPEG:
|
||||
#ifdef HAVE_RJPEG
|
||||
return true;
|
||||
#endif
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case IMAGE_TYPE_TGA:
|
||||
#ifdef HAVE_RTGA
|
||||
return true;
|
||||
#endif
|
||||
#else
|
||||
break;
|
||||
#endif
|
||||
case IMAGE_TYPE_BMP:
|
||||
return true;
|
||||
case IMAGE_TYPE_NONE:
|
||||
|
@ -1650,8 +1650,9 @@ error:
|
||||
|
||||
static bool command_event_cmd_exec(void *data)
|
||||
{
|
||||
char *fullpath;
|
||||
#if defined(HAVE_DYNAMIC)
|
||||
content_ctx_info_t content_info;
|
||||
char *fullpath = NULL;
|
||||
|
||||
content_info.argc = 0;
|
||||
content_info.argv = NULL;
|
||||
@ -1660,8 +1661,10 @@ static bool command_event_cmd_exec(void *data)
|
||||
content_info.environ_get = menu_content_environment_get;
|
||||
#else
|
||||
content_info.environ_get = NULL;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
fullpath = NULL;
|
||||
runloop_ctl(RUNLOOP_CTL_GET_CONTENT_PATH, &fullpath);
|
||||
|
||||
if (fullpath != data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user