[glib/settings-portal: 19/22] Trivial: quiet a compiler warning



commit 6472486846c576e5b343a4bd4d04cd69facb98bb
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Nov 8 17:50:29 2018 +0000

    Trivial: quiet a compiler warning

 tests/gio-test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/gio-test.c b/tests/gio-test.c
index d9bd7e357..373bc51d3 100644
--- a/tests/gio-test.c
+++ b/tests/gio-test.c
@@ -266,7 +266,7 @@ main (int    argc,
       
       GIOChannel *my_read_channel;
       gchar *cmdline;
-      guint *id;
+      guint *id = NULL;
       int i;
 #ifdef G_OS_WIN32
       GTimeVal start, end;


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