action_iterate_help - don't return unitialized variable

This commit is contained in:
twinaphex 2015-05-19 20:30:58 +02:00
parent d15c5cec4a
commit 9c5113d6da

View File

@ -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)
{
int ret;
unsigned i;
static const unsigned binds[] = {
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.",
desc[0], desc[1], desc[2], desc[3], desc[4], desc[5], desc[6], desc[7]);
return ret;
return 0;
}
static int action_iterate_info(char *s, size_t len, const char *label)