[glib: 8/10] Fix non-initialized variable in glib/gutils.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 8/10] Fix non-initialized variable in glib/gutils.c
- Date: Fri, 18 Feb 2022 13:39:26 +0000 (UTC)
commit bdf1a0ba80f82bf7efea0df6e7df0779dfc5ac64
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 19:01:36 2022 +0100
Fix non-initialized variable in glib/gutils.c
glib/gutils.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/glib/gutils.c b/glib/gutils.c
index c6aec9e6f..457ae0955 100644
--- a/glib/gutils.c
+++ b/glib/gutils.c
@@ -957,7 +957,7 @@ g_get_host_name (void)
if (g_once_init_enter (&hostname))
{
gboolean failed;
- gchar *utmp;
+ gchar *utmp = NULL;
#ifndef G_OS_WIN32
gsize size;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]