[glib: 9/12] Fix missing initializer warning in gio/gio-tool-cat.c




commit c395e865bf46e9a1a4fe4383a5911cb3b36ed8ae
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date:   Wed Apr 28 23:24:24 2021 +0200

    Fix missing initializer warning in gio/gio-tool-cat.c
    
    gio/gio-tool-cat.c:42:10: warning: missing field 'short_name' initializer
      { NULL }
             ^

 gio/gio-tool-cat.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gio/gio-tool-cat.c b/gio/gio-tool-cat.c
index 66841dd3e..bb0c928f5 100644
--- a/gio/gio-tool-cat.c
+++ b/gio/gio-tool-cat.c
@@ -39,7 +39,7 @@
 
 
 static const GOptionEntry entries[] = {
-  { NULL }
+  G_OPTION_ENTRY_NULL
 };
 
 /* 256k minus malloc overhead */


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