From cfc7e450886345e632d63ca4cc9e50e5962bfeba Mon Sep 17 00:00:00 2001 From: wchang kim Date: Fri, 30 Jun 2023 15:47:36 +0900 Subject: [PATCH] Fixed the build error using gcc 13 Change-Id: Ica1f9d0f59a91617b9e607ded7ad045161a1f52f --- src/statvfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/statvfs.c b/src/statvfs.c index 0e8bac6..6e9f841 100644 --- a/src/statvfs.c +++ b/src/statvfs.c @@ -118,7 +118,7 @@ static int get_memory_size(const char *path, struct statvfs_32 *buf) /* This api is intended for binaries built with _FILE_OFFSET_BITS=32 */ API int storage_get_internal_memory_size(struct statvfs *buf) { - struct statvfs_32 temp; + struct statvfs_32 temp = { 0, }; static unsigned long reserved = 0; int ret_val; -- 2.7.4