Commit 24fa2ee5 authored by Chun-wei Fan's avatar Chun-wei Fan

gobject/tests/signals.c: Remove C99ism

Declare variables in start of block.
parent 63673da5
......@@ -696,9 +696,11 @@ test_all_types (void)
GBytes *bytes = g_bytes_new_static ("Blah", 5);
gpointer ptr = &enum_type;
GVariant *var = g_variant_new_uint16 (99);
gint64 i64;
guint64 ui64;
g_variant_ref_sink (var);
gint64 i64 = G_MAXINT64 - 1234;
guint64 ui64 = G_MAXUINT64 - 123456;
i64 = G_MAXINT64 - 1234;
ui64 = G_MAXUINT64 - 123456;
test = g_object_new (test_get_type (), NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment