1
0
mirror of https://github.com/libretro/RetroArch synced 2024-07-08 12:15:49 +00:00

(jdgleaver) Cleanups

This commit is contained in:
twinaphex 2020-08-27 12:10:14 +02:00
parent b4d26aca9c
commit 56640bf7c9

View File

@ -1520,9 +1520,10 @@ bool core_info_set_core_lock(const char *core_path, bool lock)
{
core_info_ctx_find_t core_info;
char lock_file_path[PATH_MAX_LENGTH];
RFILE *lock_file = NULL;
bool lock_file_exists = false;
lock_file_path[0] = '\0';
if (string_is_empty(core_path))
return false;
@ -1596,6 +1597,8 @@ bool core_info_get_core_lock(const char *core_path, bool validate_path)
bool is_locked = false;
core_info_ctx_find_t core_info;
lock_file_path[0] = '\0';
if (string_is_empty(core_path))
return false;