[glib: 4/11] Fix non-initialized variable in gio/gresource-tool.c




commit 2c734147cffc791ce1ec3aae8cf3c7c9eecd1342
Author: Loic Le Page <llepage fluendo com>
Date:   Wed Jan 19 18:57:29 2022 +0100

    Fix non-initialized variable in gio/gresource-tool.c

 gio/gresource-tool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gresource-tool.c b/gio/gresource-tool.c
index aa718974e..15c370155 100644
--- a/gio/gresource-tool.c
+++ b/gio/gresource-tool.c
@@ -477,8 +477,8 @@ static gint
 cmd_help (gboolean     requested,
           const gchar *command)
 {
-  const gchar *description;
-  const gchar *synopsis;
+  const gchar *description = NULL;
+  const gchar *synopsis = NULL;
   gchar *option;
   GString *string;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]