summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-05-11 15:00:59 -0400
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>2011-05-11 15:00:59 -0400
commite266f28db961d3026404c72b21a6b6071a2d4e3d (patch)
treefabc39bb40a152b08ab93f48c47a7b57bf191219 /tests
parent9edb997d7d138b1666f19d82aa20aba238c65c4c (diff)
parentc8da1e2a11c26d5b925a1c17e7a6fed9f81fca95 (diff)
downloadtelepathy-logger-e266f28db961d3026404c72b21a6b6071a2d4e3d.tar.gz
Merge branch 'trivia'
Diffstat (limited to 'tests')
-rw-r--r--tests/dbus/test-tpl-log-store-pidgin.c5
-rw-r--r--tests/dbus/test-tpl-log-store-xml.c3
2 files changed, 1 insertions, 7 deletions
diff --git a/tests/dbus/test-tpl-log-store-pidgin.c b/tests/dbus/test-tpl-log-store-pidgin.c
index 90add83..416a9b2 100644
--- a/tests/dbus/test-tpl-log-store-pidgin.c
+++ b/tests/dbus/test-tpl-log-store-pidgin.c
@@ -439,7 +439,6 @@ test_search_new (PidginTestCaseFixture *fixture,
gconstpointer user_data)
{
GList *l = NULL;
- TplLogSearchHit *hit;
/* empty search */
l = log_store_pidgin_search_new (TPL_LOG_STORE (fixture->store),
@@ -457,8 +456,6 @@ test_search_new (PidginTestCaseFixture *fixture,
g_assert_cmpint (g_list_length (l), ==, 1);
- hit = g_list_nth_data (l, 0);
-
tpl_log_manager_search_free (l);
/* non empty search, checking chatrooms are also searched */
@@ -468,8 +465,6 @@ test_search_new (PidginTestCaseFixture *fixture,
g_assert_cmpint (g_list_length (l), ==, 1);
- hit = g_list_nth_data (l, 0);
-
tpl_log_manager_search_free (l);
}
diff --git a/tests/dbus/test-tpl-log-store-xml.c b/tests/dbus/test-tpl-log-store-xml.c
index f2c8c1f..db89bed 100644
--- a/tests/dbus/test-tpl-log-store-xml.c
+++ b/tests/dbus/test-tpl-log-store-xml.c
@@ -95,9 +95,8 @@ teardown (XmlTestCaseFixture *fixture,
if (fixture->tmp_basedir != NULL)
{
gchar *command = g_strdup_printf ("rm -rf %s", fixture->tmp_basedir);
- int res;
- res = system (command);
+ system (command);
g_free (fixture->tmp_basedir);
}