From: wchang kim Date: Fri, 30 Jun 2023 06:47:36 +0000 (+0900) Subject: Fixed the build error using gcc 13 X-Git-Tag: accepted/tizen/unified/dev/20230726.115608^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Faccepted%2Ftizen_unified_dev;p=platform%2Fcore%2Fsystem%2Flibstorage.git Fixed the build error using gcc 13 Change-Id: Ica1f9d0f59a91617b9e607ded7ad045161a1f52f --- 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;