aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2015-02-09 16:45:39 -0600
committerTed Gould <ted@gould.cx>2015-02-09 16:45:39 -0600
commit53fe663dc4bc02731246a75b5ef2b0c4e356063f (patch)
treedd68bf52fac826d1cecfc3804e9d0a420e4e9c64 /tests
parentf36fae6df21d1a8a86aa3e556861d2a6c695a15b (diff)
downloadayatana-indicator-sound-53fe663dc4bc02731246a75b5ef2b0c4e356063f.tar.gz
ayatana-indicator-sound-53fe663dc4bc02731246a75b5ef2b0c4e356063f.tar.bz2
ayatana-indicator-sound-53fe663dc4bc02731246a75b5ef2b0c4e356063f.zip
Remove an unused variable
Diffstat (limited to 'tests')
-rw-r--r--tests/notifications-test.cc3
1 files changed, 1 insertions, 2 deletions
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<NotificationsMock> 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);