mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 13:51:02 +00:00
Fix some static analyzer warnings.
This commit is contained in:
parent
302dc9460f
commit
b50ddfc87a
@ -62,7 +62,6 @@ static inline bool gl_check_error(void)
|
||||
break;
|
||||
case GL_NO_ERROR:
|
||||
return true;
|
||||
break;
|
||||
default:
|
||||
SSNES_ERR("Non specified error :v\n");
|
||||
}
|
||||
|
@ -272,9 +272,7 @@ static config_file_t *open_default_config_file(void)
|
||||
}
|
||||
if (!conf)
|
||||
conf = config_file_new("/etc/ssnes.cfg");
|
||||
#elif defined(__CELLOS_LV2__) || defined(_XBOX)
|
||||
return NULL;
|
||||
#else
|
||||
#elif !defined(__CELLOS_LV2__) && !defined(_XBOX)
|
||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||
if (!xdg)
|
||||
SSNES_WARN("XDG_CONFIG_HOME is not defined. Will look for config in $HOME/.ssnes.cfg ...\n");
|
||||
|
Loading…
Reference in New Issue
Block a user