From 6bc20651ecf8e8b5d9ffea89ae76083ededa3c0b Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 11 Nov 2010 21:30:03 -0500 Subject: [PATCH] Partial revert of last commit Revert incorrect changes to gdbusmessage.c --- gio/gdbusmessage.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gio/gdbusmessage.c b/gio/gdbusmessage.c index 923ccd587..ade5e7be7 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); }