Commit fce62d5f authored by Higor Eurípedes's avatar Higor Eurípedes
Browse files

Fix some uninitialized variable errors

parent 373a4ce8
......@@ -34,7 +34,7 @@ static void fallback_log(enum retro_log_level level, const char *fmt, ...)
void retro_init(void)
{
char *savedir;
char *savedir = NULL;
game_calculate_pitch();
......@@ -75,7 +75,7 @@ void retro_init(void)
void retro_deinit(void)
{
char *savedir;
char *savedir = NULL;
environ_cb(RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY, &savedir);
if (savedir)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment