mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 12:39:56 +00:00
(jdgleaver) Cleanups
This commit is contained in:
parent
b4d26aca9c
commit
56640bf7c9
@ -1520,9 +1520,10 @@ bool core_info_set_core_lock(const char *core_path, bool lock)
|
|||||||
{
|
{
|
||||||
core_info_ctx_find_t core_info;
|
core_info_ctx_find_t core_info;
|
||||||
char lock_file_path[PATH_MAX_LENGTH];
|
char lock_file_path[PATH_MAX_LENGTH];
|
||||||
RFILE *lock_file = NULL;
|
|
||||||
bool lock_file_exists = false;
|
bool lock_file_exists = false;
|
||||||
|
|
||||||
|
lock_file_path[0] = '\0';
|
||||||
|
|
||||||
if (string_is_empty(core_path))
|
if (string_is_empty(core_path))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
@ -1596,6 +1597,8 @@ bool core_info_get_core_lock(const char *core_path, bool validate_path)
|
|||||||
bool is_locked = false;
|
bool is_locked = false;
|
||||||
core_info_ctx_find_t core_info;
|
core_info_ctx_find_t core_info;
|
||||||
|
|
||||||
|
lock_file_path[0] = '\0';
|
||||||
|
|
||||||
if (string_is_empty(core_path))
|
if (string_is_empty(core_path))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user