mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-27 14:36:16 +01:00
Fix redefinition of local variable in glib/tests/logging.c
This commit is contained in:
parent
c53f24ba53
commit
479fcb40c0
@ -525,9 +525,9 @@ test_structured_logging_roundtrip1 (void)
|
|||||||
if (expected_messages != NULL)
|
if (expected_messages != NULL)
|
||||||
{
|
{
|
||||||
char *str;
|
char *str;
|
||||||
ExpectedMessage *expected = expected_messages->data;
|
ExpectedMessage *msg = expected_messages->data;
|
||||||
|
|
||||||
str = g_log_writer_format_fields (0, expected->fields, expected->n_fields, FALSE);
|
str = g_log_writer_format_fields (0, msg->fields, msg->n_fields, FALSE);
|
||||||
g_test_fail_printf ("Unexpected message: %s", str);
|
g_test_fail_printf ("Unexpected message: %s", str);
|
||||||
g_free (str);
|
g_free (str);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user