From 85be9b907d0f515ded4e30d654b326eb49a45a9d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 2 Oct 2015 18:25:40 +0200 Subject: [PATCH] (retro_stat.c) initialize variable --- libretro-common/file/retro_stat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro-common/file/retro_stat.c b/libretro-common/file/retro_stat.c index 17375bf676..164d0bb86a 100644 --- a/libretro-common/file/retro_stat.c +++ b/libretro-common/file/retro_stat.c @@ -168,7 +168,7 @@ bool path_is_valid(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)) return filesize;