Fix redefinition of local variable in gio/tests/testfilemonitor.c

This commit is contained in:
Loic Le Page 2022-01-19 18:28:17 +01:00 committed by Loïc Le Page
parent c324ce5c2a
commit 7178e10cd5

View File

@ -235,12 +235,12 @@ check_expected_events (RecordedEvent *expected,
* error messages. Print the expected and actual events first. */ * error messages. Print the expected and actual events first. */
else else
{ {
GList *l; GList *ll;
gsize j; gsize j;
g_test_message ("Recorded events:"); g_test_message ("Recorded events:");
for (l = recorded; l != NULL; l = l->next) for (ll = recorded; ll != NULL; ll = ll->next)
output_event ((RecordedEvent *) l->data); output_event ((RecordedEvent *) ll->data);
g_test_message ("Expected events:"); g_test_message ("Expected events:");
for (j = 0; j < n_expected; j++) for (j = 0; j < n_expected; j++)