[glib: 1/11] Fix non-initialized variable in gio/gsettings-tool.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/11] Fix non-initialized variable in gio/gsettings-tool.c
- Date: Thu, 17 Mar 2022 15:13:17 +0000 (UTC)
commit e0ccf082842931fc2a39de16477434968a25813f
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 18:57:59 2022 +0100
Fix non-initialized variable in gio/gsettings-tool.c
gio/gsettings-tool.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gsettings-tool.c b/gio/gsettings-tool.c
index 0c7763a39..9352b70f5 100644
--- a/gio/gsettings-tool.c
+++ b/gio/gsettings-tool.c
@@ -570,8 +570,8 @@ static int
gsettings_help (gboolean requested,
const gchar *command)
{
- const gchar *description;
- const gchar *synopsis;
+ const gchar *description = NULL;
+ const gchar *synopsis = NULL;
GString *string;
string = g_string_new (NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]