mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-23 16:09:47 +00:00
Silence unreferenced local variable warning
This commit is contained in:
parent
3033c1586a
commit
99c00b438b
@ -1932,13 +1932,15 @@ static void config_set_defaults(void)
|
||||
**/
|
||||
static config_file_t *open_default_config_file(void)
|
||||
{
|
||||
bool has_application_data;
|
||||
bool has_application_data = false;
|
||||
size_t path_size = PATH_MAX_LENGTH * sizeof(char);
|
||||
char *application_data = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
char *conf_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
char *app_path = (char*)malloc(PATH_MAX_LENGTH * sizeof(char));
|
||||
config_file_t *conf = NULL;
|
||||
|
||||
(void)has_application_data;
|
||||
|
||||
application_data[0] = conf_path[0] = app_path[0] = '\0';
|
||||
|
||||
(void)path_size;
|
||||
|
Loading…
Reference in New Issue
Block a user