[mutter/wayland] compositor: Remove some uninitialized variables
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wayland] compositor: Remove some uninitialized variables
- Date: Tue, 3 Sep 2013 20:10:31 +0000 (UTC)
commit ddb9929dad246def8cf78c0f30c69af6d92ee921
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]