mirror of
https://github.com/libretro/RetroArch
synced 2025-03-25 16:44:01 +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;
|
break;
|
||||||
case GL_NO_ERROR:
|
case GL_NO_ERROR:
|
||||||
return true;
|
return true;
|
||||||
break;
|
|
||||||
default:
|
default:
|
||||||
SSNES_ERR("Non specified error :v\n");
|
SSNES_ERR("Non specified error :v\n");
|
||||||
}
|
}
|
||||||
|
@ -272,9 +272,7 @@ static config_file_t *open_default_config_file(void)
|
|||||||
}
|
}
|
||||||
if (!conf)
|
if (!conf)
|
||||||
conf = config_file_new("/etc/ssnes.cfg");
|
conf = config_file_new("/etc/ssnes.cfg");
|
||||||
#elif defined(__CELLOS_LV2__) || defined(_XBOX)
|
#elif !defined(__CELLOS_LV2__) && !defined(_XBOX)
|
||||||
return NULL;
|
|
||||||
#else
|
|
||||||
const char *xdg = getenv("XDG_CONFIG_HOME");
|
const char *xdg = getenv("XDG_CONFIG_HOME");
|
||||||
if (!xdg)
|
if (!xdg)
|
||||||
SSNES_WARN("XDG_CONFIG_HOME is not defined. Will look for config in $HOME/.ssnes.cfg ...\n");
|
SSNES_WARN("XDG_CONFIG_HOME is not defined. Will look for config in $HOME/.ssnes.cfg ...\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user