mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-20 19:40:39 +00:00
(SNC) Fix a bunch of compiler warnings
This commit is contained in:
parent
80546dd326
commit
340caec0a0
@ -33,12 +33,15 @@ const char *menu_hash_to_str_eo(uint32_t hash)
|
||||
|
||||
int menu_hash_get_help_eo(uint32_t hash, char *s, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
@ -33,12 +33,15 @@ const char *menu_hash_to_str_es(uint32_t hash)
|
||||
|
||||
int menu_hash_get_help_es(uint32_t hash, char *s, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
@ -843,15 +843,18 @@ const char *menu_hash_to_str_fr(uint32_t hash)
|
||||
|
||||
int menu_hash_get_help_fr(uint32_t hash, char *s, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
/* If this one throws errors, stop sledgehammering square pegs into round holes and */
|
||||
/* READ THE COMMENTS at the top of the file. */ (void)sizeof(force_iso_8859_1);
|
||||
/* READ THE COMMENTS at the top of the file. */
|
||||
(void)sizeof(force_iso_8859_1);
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
@ -33,12 +33,15 @@ const char *menu_hash_to_str_it(uint32_t hash)
|
||||
|
||||
int menu_hash_get_help_it(uint32_t hash, char *s, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
@ -848,13 +848,16 @@ const char *menu_hash_to_str_nl(uint32_t hash)
|
||||
|
||||
int menu_hash_get_help_nl(uint32_t hash, char *s, size_t len)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
switch (hash)
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
strlcpy(s, "Geen informatie beschikbaar.", len);
|
||||
return -1;
|
||||
ret = -1;
|
||||
break;
|
||||
}
|
||||
|
||||
return 0;
|
||||
return ret;
|
||||
}
|
||||
|
@ -406,11 +406,11 @@ unsigned rarch_get_cpu_cores(void)
|
||||
uint64_t rarch_get_cpu_features(void)
|
||||
{
|
||||
int flags[4];
|
||||
unsigned max_flag;
|
||||
uint64_t cpu_flags;
|
||||
int vendor_shuffle[3];
|
||||
char vendor[13] = {0};
|
||||
uint64_t cpu = 0;
|
||||
char vendor[13] = {0};
|
||||
uint64_t cpu_flags = 0;
|
||||
uint64_t cpu = 0;
|
||||
unsigned max_flag = 0;
|
||||
#if defined(CPU_X86)
|
||||
const int avx_flags = (1 << 27) | (1 << 28);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user