mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
gobject/tests/signals.c: Remove C99ism
Declare variables in start of block.
This commit is contained in:
parent
63673da5eb
commit
24fa2ee53c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user