[glib: 7/10] Fix non-initialized variable in glib/gvariant-parser.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 7/10] Fix non-initialized variable in glib/gvariant-parser.c
- Date: Fri, 18 Feb 2022 13:39:26 +0000 (UTC)
commit 28fa4325a45d55f1cf6d03509da7a123bf2a4c72
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 19:01:55 2022 +0100
Fix non-initialized variable in glib/gvariant-parser.c
glib/gvariant-parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c
index bb5238bea..1b89259d3 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -1564,7 +1564,7 @@ unicode_unescape (const gchar *src,
{
gchar buffer[9];
guint64 value = 0;
- gchar *end;
+ gchar *end = NULL;
gsize n_valid_chars;
(*src_ofs)++;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]