diff --git a/plugins/updates/gsd-updates-manager.c b/plugins/updates/gsd-updates-manager.c
index 96ae67b..009a6e5 100644
--- a/plugins/updates/gsd-updates-manager.c
+++ b/plugins/updates/gsd-updates-manager.c
@@ -1306,9 +1306,6 @@ gsd_updates_manager_constructor (
                 GObjectConstructParam *construct_properties)
 {
         GsdUpdatesManager *m;
-        GsdUpdatesManagerClass *klass;
-
-        klass = GSD_UPDATES_MANAGER_CLASS (g_type_class_peek (GSD_TYPE_UPDATES_MANAGER));
 
         m = GSD_UPDATES_MANAGER (G_OBJECT_CLASS (gsd_updates_manager_parent_class)->constructor (
                                                            type,
