[gtk/modern-testsuite] Quiet the compiler
- From: Matthias Clasen <matthiasc src gnome org>
 
- To: commits-list gnome org
 
- Cc: 
 
- Subject: [gtk/modern-testsuite] Quiet the compiler
 
- Date: Wed, 15 Sep 2021 20:51:17 +0000 (UTC)
 
commit 0a0b4f6fec505e5478f0f4e8f3225b978895d060
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Sep 15 16:50:47 2021 -0400
    Quiet the compiler
    
    This broke some of the ci builds with a 'maybe used
    uninitialized' warning.
 tests/rendernode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/tests/rendernode.c b/tests/rendernode.c
index c1cbd65e39..95667142d4 100644
--- a/tests/rendernode.c
+++ b/tests/rendernode.c
@@ -49,7 +49,7 @@ main(int argc, char **argv)
   gsize len;
   int run;
   GOptionContext *context;
-  GdkTexture *texture;
+  GdkTexture *texture = NULL;
 
   context = g_option_context_new ("NODE-FILE PNG-FILE");
   g_option_context_add_main_entries (context, options, NULL);
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]