diff --git a/plugins/dummy/gsd-dummy-manager.c b/plugins/dummy/gsd-dummy-manager.c
index 7d9f3cd..89d4776 100644
--- a/plugins/dummy/gsd-dummy-manager.c
+++ b/plugins/dummy/gsd-dummy-manager.c
@@ -80,10 +80,6 @@ gsd_dummy_manager_set_property (GObject        *object,
                                const GValue   *value,
                                GParamSpec     *pspec)
 {
-        GsdDummyManager *self;
-
-        self = GSD_DUMMY_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -97,10 +93,6 @@ gsd_dummy_manager_get_property (GObject        *object,
                                GValue         *value,
                                GParamSpec     *pspec)
 {
-        GsdDummyManager *self;
-
-        self = GSD_DUMMY_MANAGER (object);
-
         switch (prop_id) {
         default:
                 G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
@@ -114,9 +106,6 @@ gsd_dummy_manager_constructor (GType                  type,
                               GObjectConstructParam *construct_properties)
 {
         GsdDummyManager      *dummy_manager;
-        GsdDummyManagerClass *klass;
-
-        klass = GSD_DUMMY_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_DUMMY_MANAGER));
 
         dummy_manager = GSD_DUMMY_MANAGER (G_OBJECT_CLASS (gsd_dummy_manager_parent_class)->constructor (type,
                                                                                                       n_construct_properties,
@@ -128,10 +117,6 @@ gsd_dummy_manager_constructor (GType                  type,
 static void
 gsd_dummy_manager_dispose (GObject *object)
 {
-        GsdDummyManager *dummy_manager;
-
-        dummy_manager = GSD_DUMMY_MANAGER (object);
-
         G_OBJECT_CLASS (gsd_dummy_manager_parent_class)->dispose (object);
 }
 
