Commit 142fbf48 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #16 from heuripedes/master

Fix some uninitialized variable errors
parents 373a4ce8 fce62d5f
......@@ -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