[glib: 7/11] Fix redefinition of local variable in gio/tests/testfilemonitor.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 7/11] Fix redefinition of local variable in gio/tests/testfilemonitor.c
- Date: Fri, 1 Apr 2022 15:13:33 +0000 (UTC)
commit 7178e10cd5aeadb6e5cb6a29a49cbb731097a525
Author: Loic Le Page <llepage fluendo com>
Date: Wed Jan 19 18:28:17 2022 +0100
Fix redefinition of local variable in gio/tests/testfilemonitor.c
gio/tests/testfilemonitor.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gio/tests/testfilemonitor.c b/gio/tests/testfilemonitor.c
index a52ade715d..2307f74634 100644
--- a/gio/tests/testfilemonitor.c
+++ b/gio/tests/testfilemonitor.c
@@ -235,12 +235,12 @@ check_expected_events (RecordedEvent *expected,
* error messages. Print the expected and actual events first. */
else
{
- GList *l;
+ GList *ll;
gsize j;
g_test_message ("Recorded events:");
- for (l = recorded; l != NULL; l = l->next)
- output_event ((RecordedEvent *) l->data);
+ for (ll = recorded; ll != NULL; ll = ll->next)
+ output_event ((RecordedEvent *) ll->data);
g_test_message ("Expected events:");
for (j = 0; j < n_expected; j++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]