From 53fe663dc4bc02731246a75b5ef2b0c4e356063f Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 9 Feb 2015 16:45:39 -0600 Subject: Remove an unused variable --- tests/notifications-test.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/notifications-test.cc') diff --git a/tests/notifications-test.cc b/tests/notifications-test.cc index c738027..1b231eb 100644 --- a/tests/notifications-test.cc +++ b/tests/notifications-test.cc @@ -34,7 +34,6 @@ class NotificationsTest : public ::testing::Test { protected: DbusTestService * service = NULL; - DbusTestDbusMock * mock = NULL; GDBusConnection * session = NULL; std::shared_ptr notifications; @@ -55,7 +54,7 @@ class NotificationsTest : public ::testing::Test } virtual void TearDown() { - g_clear_object(&mock); + notifications.reset(); g_clear_object(&service); g_object_unref(session); -- cgit v1.2.3