action_iterate_help - don't return unitialized variable
This commit is contained in:
parent
d15c5cec4a
commit
9c5113d6da
|
@ -145,7 +145,6 @@ static int load_or_open_zip_iterate(char *s, size_t len, unsigned action)
|
||||||
|
|
||||||
static int action_iterate_help(char *s, size_t len, const char *label)
|
static int action_iterate_help(char *s, size_t len, const char *label)
|
||||||
{
|
{
|
||||||
int ret;
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
static const unsigned binds[] = {
|
static const unsigned binds[] = {
|
||||||
RETRO_DEVICE_ID_JOYPAD_UP,
|
RETRO_DEVICE_ID_JOYPAD_UP,
|
||||||
|
@ -202,8 +201,7 @@ static int action_iterate_help(char *s, size_t len, const char *label)
|
||||||
"Press Accept/OK to continue.",
|
"Press Accept/OK to continue.",
|
||||||
desc[0], desc[1], desc[2], desc[3], desc[4], desc[5], desc[6], desc[7]);
|
desc[0], desc[1], desc[2], desc[3], desc[4], desc[5], desc[6], desc[7]);
|
||||||
|
|
||||||
|
return 0;
|
||||||
return ret;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int action_iterate_info(char *s, size_t len, const char *label)
|
static int action_iterate_info(char *s, size_t len, const char *label)
|
||||||
|
|
Loading…
Reference in New Issue