Partial revert of last commit
authorRyan Lortie <desrt@desrt.ca>
Fri, 12 Nov 2010 02:30:03 +0000 (21:30 -0500)
committerRyan Lortie <desrt@desrt.ca>
Fri, 12 Nov 2010 02:49:21 +0000 (21:49 -0500)
Revert incorrect changes to gdbusmessage.c

gio/gdbusmessage.c

index 923ccd5..ade5e7b 100644 (file)
@@ -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);
         }