[glib] Drop { } for favour of { 0, }.



commit db83dd27c571e34e2974a4cff560fdfb255c2bf2
Author: Ryan Lortie <desrt desrt ca>
Date:   Sun Mar 21 20:12:18 2010 -0500

    Drop {  } for favour of { 0, }.

 glib/gvariant-parser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glib/gvariant-parser.c b/glib/gvariant-parser.c
index 45d2695..5bb2c35 100644
--- a/glib/gvariant-parser.c
+++ b/glib/gvariant-parser.c
@@ -2057,7 +2057,7 @@ g_variant_parse (const GVariantType  *type,
                  const gchar        **endptr,
                  GError             **error)
 {
-  TokenStream stream = {  };
+  TokenStream stream = { 0, };
   GVariant *result = NULL;
   AST *ast;
 
@@ -2135,7 +2135,7 @@ GVariant *
 g_variant_new_parsed_va (const gchar *format,
                          va_list     *app)
 {
-  TokenStream stream = {  };
+  TokenStream stream = { 0, };
   GVariant *result = NULL;
   GError *error = NULL;
   AST *ast;



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