Fixed the build error using gcc 13 36/295036/1 accepted/tizen_unified_dev accepted/tizen/unified/dev/20230726.115608
authorwchang kim <wchang.kim@samsung.com>
Fri, 30 Jun 2023 06:47:36 +0000 (15:47 +0900)
committerwchang kim <wchang.kim@samsung.com>
Fri, 30 Jun 2023 06:47:36 +0000 (15:47 +0900)
Change-Id: Ica1f9d0f59a91617b9e607ded7ad045161a1f52f

src/statvfs.c

index 0e8bac6..6e9f841 100644 (file)
@@ -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;