[glib: 8/11] Fix missing initializer warning in gio/gpollableutils.c:closure_marshal()




commit 73499dcb73923f7c320be7e12e7bd5094c79866e
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Tue Nov 17 11:20:34 2020 +0100

    Fix missing initializer warning in gio/gpollableutils.c:closure_marshal()
    
    gio/gpollableutils.c:92:1: error: missing initializer for field ‘closure_marshal’ of ‘GSourceFuncs’ {aka 
‘struct _GSourceFuncs’}
       92 | };
          | ^

 gio/gpollableutils.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/gio/gpollableutils.c b/gio/gpollableutils.c
index b77e65404..77bf82174 100644
--- a/gio/gpollableutils.c
+++ b/gio/gpollableutils.c
@@ -89,6 +89,7 @@ static GSourceFuncs pollable_source_funcs =
   pollable_source_dispatch,
   pollable_source_finalize,
   (GSourceFunc)pollable_source_closure_callback,
+  NULL,
 };
 
 /**


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