mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-07 18:07:27 +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;
|
||||
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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user