[mutter] compositor: Remove some uninitialized variables



commit 4a11f126cdcfc1fb1b04a7253e94e08afff3327c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Sep 3 16:02:37 2013 -0400

    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 9c8cb16..7badc8c 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 ba8b9cb..723b4eb 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]