mirror of
https://github.com/libretro/RetroArch.git
synced 2025-01-24 10:24:55 +00:00
(OSX) Silence warnings
This commit is contained in:
parent
0f91cf67fc
commit
808b973752
@ -2796,7 +2796,6 @@ static int cheevos_iterate(coro_t* coro)
|
||||
{
|
||||
buffer = (uint8_t*)DATA + LEN;
|
||||
to_read = 4096;
|
||||
num_read = 0;
|
||||
|
||||
if (to_read > COUNT)
|
||||
to_read = COUNT;
|
||||
|
@ -293,11 +293,10 @@ static unsigned char *rbmp__bmp_load(rbmp__context *s, unsigned *x, unsigned *y,
|
||||
}
|
||||
if (bpp == 16 || bpp == 32)
|
||||
{
|
||||
mr = mg = mb = 0;
|
||||
|
||||
switch (compress)
|
||||
{
|
||||
case 0:
|
||||
#if 0
|
||||
if (bpp == 32)
|
||||
{
|
||||
mr = 0xffu << 16;
|
||||
@ -311,6 +310,7 @@ static unsigned char *rbmp__bmp_load(rbmp__context *s, unsigned *x, unsigned *y,
|
||||
mg = 31u << 5;
|
||||
mb = 31u << 0;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case 3:
|
||||
mr = rbmp__get32le(s);
|
||||
@ -323,6 +323,9 @@ static unsigned char *rbmp__bmp_load(rbmp__context *s, unsigned *x, unsigned *y,
|
||||
return 0;
|
||||
break;
|
||||
default:
|
||||
#if 0
|
||||
mr = mg = mb = 0;
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -311,7 +311,6 @@ static bool rpng_save_image(const char *path,
|
||||
{
|
||||
filter = 4;
|
||||
chosen_filtered = paeth_filtered;
|
||||
min_sad = paeth_score;
|
||||
}
|
||||
|
||||
*encode_target++ = filter;
|
||||
|
@ -3477,7 +3477,6 @@ finish:
|
||||
{
|
||||
char s[PATH_MAX_LENGTH];
|
||||
int i = 0;
|
||||
int j = 0;
|
||||
int k = 0;
|
||||
file_list_t *file_list = menu_entries_get_selection_buf_ptr(0);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user