From ddb9929dad246def8cf78c0f30c69af6d92ee921 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Tue, 3 Sep 2013 16:02:37 -0400 Subject: [PATCH] compositor: Remove some uninitialized variables --- src/compositor/meta-module.c | 5 +---- src/compositor/meta-plugin.c | 4 +--- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/src/compositor/meta-module.c b/src/compositor/meta-module.c index 9c8cb1626..7badc8cd9 100644 --- a/src/compositor/meta-module.c +++ b/src/compositor/meta-module.c @@ -192,10 +192,7 @@ meta_module_class_init (MetaModuleClass *klass) static void meta_module_init (MetaModule *self) { - MetaModulePrivate *priv; - - self->priv = priv = META_MODULE_GET_PRIVATE (self); - + self->priv = META_MODULE_GET_PRIVATE (self); } GType diff --git a/src/compositor/meta-plugin.c b/src/compositor/meta-plugin.c index ba8b9cbd9..723b4eb4e 100644 --- a/src/compositor/meta-plugin.c +++ b/src/compositor/meta-plugin.c @@ -138,9 +138,7 @@ meta_plugin_class_init (MetaPluginClass *klass) static void meta_plugin_init (MetaPlugin *self) { - MetaPluginPrivate *priv; - - self->priv = priv = META_PLUGIN_GET_PRIVATE (self); + self->priv = META_PLUGIN_GET_PRIVATE (self); } gboolean