Avoid warning 'variable may be used uninitialized'

This commit is contained in:
twinaphex 2016-06-20 02:45:07 +02:00
parent 1fa36689d8
commit 114cc081aa

View File

@ -73,7 +73,7 @@ static void input_autoconfigure_joypad_conf(config_file_t *conf,
static int input_try_autoconfigure_joypad_from_conf(config_file_t *conf,
autoconfig_params_t *params)
{
int tmp_int;
int tmp_int = 0;
char ident[PATH_MAX_LENGTH] = {0};
char input_driver[PATH_MAX_LENGTH] = {0};
int input_vid = 0;