[glib] Partial revert of last commit



commit 6bc20651ecf8e8b5d9ffea89ae76083ededa3c0b
Author: Ryan Lortie <desrt desrt ca>
Date:   Thu Nov 11 21:30:03 2010 -0500

    Partial revert of last commit
    
    Revert incorrect changes to gdbusmessage.c

 gio/gdbusmessage.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c
index 923ccd5..ade5e7b 100644
--- a/gio/gdbusmessage.c
+++ b/gio/gdbusmessage.c
@@ -1186,10 +1186,7 @@ parse_value_from_blob (GMemoryInputStream    *mis,
           v = g_data_input_stream_read_uint64 (dis, NULL, &local_error);
           if (local_error != NULL)
             goto fail;
-		  if (1)
-		  {
-			G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
-		  }
+          G_STATIC_ASSERT (sizeof (gdouble) == sizeof (guint64));
           encoded = (gdouble *) &v;
           ret = g_variant_new_double (*encoded);
         }



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