[Telepathy-commits] [telepathy-glib/master] message-mixin test: don't shadow local with more narrowly scoped local
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Dec 18 10:41:48 PST 2008
---
tests/dbus/message-mixin.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/dbus/message-mixin.c b/tests/dbus/message-mixin.c
index bdb412c..636213d 100644
--- a/tests/dbus/message-mixin.c
+++ b/tests/dbus/message-mixin.c
@@ -1006,15 +1006,15 @@ main (int argc,
g_print ("\n\n==== Acknowledging one message ====\n");
{
- GArray *ids = g_array_sized_new (FALSE, FALSE, sizeof (guint), 1);
+ GArray *msgid = g_array_sized_new (FALSE, FALSE, sizeof (guint), 1);
- g_array_append_val (ids, last_received_id);
+ g_array_append_val (msgid, last_received_id);
tp_cli_channel_type_text_run_acknowledge_pending_messages (chan, -1,
- ids, &error, NULL);
+ msgid, &error, NULL);
MYASSERT_NO_ERROR (error);
- g_array_free (ids, TRUE);
+ g_array_free (msgid, TRUE);
}
g_print ("\n\n==== Acknowledging all remaining messages using deprecated "
--
1.5.6.5
More information about the Telepathy-commits
mailing list