summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2011-10-16 08:19:29 (GMT)
committerTravis Reitter <travis.reitter@collabora.co.uk>2011-10-17 18:38:28 (GMT)
commita9b8ec19dfb6c9f61f9f85d6ebfcf117bdc575a4 (patch)
tree940f01f253c5bed2a8fc2054da109450b1358ba6
parent15b2e8002a5b10a4e985c3e630ca7b24585e6757 (diff)
downloadfolks-a9b8ec19dfb6c9f61f9f85d6ebfcf117bdc575a4.tar.gz
folks-a9b8ec19dfb6c9f61f9f85d6ebfcf117bdc575a4.tar.xz
telepathy: Fix mixed-assignments-and-declarations warning in test library
-rw-r--r--tests/lib/telepathy/contactlist/contact-list-manager.c3
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 */