[folks] telepathy: Fix mixed-assignments-and-declarations warning in test library
- From: Travis Reitter <treitter src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [folks] telepathy: Fix mixed-assignments-and-declarations warning in test library
- Date: Mon, 17 Oct 2011 18:44:47 +0000 (UTC)
commit a9b8ec19dfb6c9f61f9f85d6ebfcf117bdc575a4
Author: Philip Withnall <philip tecnocode co uk>
Date: Sun Oct 16 09:19:29 2011 +0100
telepathy: Fix mixed-assignments-and-declarations warning in test library
.../telepathy/contactlist/contact-list-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/lib/telepathy/contactlist/contact-list-manager.c b/tests/lib/telepathy/contactlist/contact-list-manager.c
index 2cd6ef0..86b307c 100644
--- a/tests/lib/telepathy/contactlist/contact-list-manager.c
+++ b/tests/lib/telepathy/contactlist/contact-list-manager.c
@@ -1825,11 +1825,12 @@ tp_test_contact_list_manager_set_contact_info (TpTestContactListManager *self,
{
TpTestContactList *stored = self->priv->lists[
TP_TEST_CONTACT_LIST_STORED];
+ GPtrArray *old;
TpTestContactDetails *d = ensure_contact (self, self->priv->conn->self_handle,
NULL);
d->id = g_strdup (tp_handle_inspect (self->priv->contact_repo,
self->priv->conn->self_handle));
- GPtrArray *old = d->contact_info;
+ old = d->contact_info;
/* FIXME: if stored list hasn't been retrieved yet, queue the change for
* later */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]