summaryrefslogtreecommitdiff
path: root/tests/dbus/test-tpl-log-store-xml.c
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.com>2011-05-26 16:46:40 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.com>2011-05-26 16:47:00 -0400
commit70653d930a0cbb245f36719da5362cf89b208487 (patch)
tree5bfbe0e14dc479a2842cf40c6445bd0cc5545ab5 /tests/dbus/test-tpl-log-store-xml.c
parent0629fee33903d0d0df8c3dd5264d29211cc1e926 (diff)
Fixed initialised but unused warning
Diffstat (limited to 'tests/dbus/test-tpl-log-store-xml.c')
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index d049cf8..4ecc679 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -469,7 +469,7 @@ test_add_superseding_event (XmlTestCaseFixture *fixture,
gconstpointer user_data)
{
TpAccount *account;
- TplEntity *me, *contact, *room;
+ TplEntity *me, *contact;
TplEvent *event;
TplTextEvent *new_event;
TplTextEvent *new_new_event;
@@ -489,8 +489,6 @@ test_add_superseding_event (XmlTestCaseFixture *fixture,
me = tpl_entity_new ("me", TPL_ENTITY_SELF, "my-alias", "my-avatar");
contact = tpl_entity_new ("contact", TPL_ENTITY_CONTACT, "contact-alias",
"contact-token");
- room = tpl_entity_new_from_room_id ("room");
-
/* 1. Outgoing message to a contact. */
event = g_object_new (TPL_TYPE_TEXT_EVENT,