[glib: 3/11] Fix non-initialized variable in gio/gresourcefile.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 3/11] Fix non-initialized variable in gio/gresourcefile.c
- Date: Thu, 17 Mar 2022 15:13:17 +0000 (UTC)
commit f92002e9f59f43aa07af819e8b4ffeaa7124aba0
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 18:57:43 2022 +0100
Fix non-initialized variable in gio/gresourcefile.c
gio/gresourcefile.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gresourcefile.c b/gio/gresourcefile.c
index 429e9ef49..35dffebe9 100644
--- a/gio/gresourcefile.c
+++ b/gio/gresourcefile.c
@@ -447,8 +447,8 @@ g_resource_file_query_info (GFile *file,
GFileInfo *info;
GFileAttributeMatcher *matcher;
gboolean res;
- gsize size;
- guint32 resource_flags;
+ gsize size = 0;
+ guint32 resource_flags = 0;
char **children;
gboolean is_dir;
char *base;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]