mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(retro_stat.c) initialize variable
This commit is contained in:
parent
9bd302b4ec
commit
85be9b907d
@ -168,7 +168,7 @@ bool path_is_valid(const char *path)
|
|||||||
|
|
||||||
int32_t path_get_size(const char *path)
|
int32_t path_get_size(const char *path)
|
||||||
{
|
{
|
||||||
int32_t filesize;
|
int32_t filesize = 0;
|
||||||
if (path_stat(path, IS_VALID, &filesize))
|
if (path_stat(path, IS_VALID, &filesize))
|
||||||
return filesize;
|
return filesize;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user