[PATCH 02/16] libplanner/mrp-object.c, fix warning: variable 'priv' set but not used
- From: Tinggong Wang <wangtinggong gmail com>
- To: Alexandre Franke <alexandre franke gmail com>, Richard Hult <richard imendio com>, Mikael Hallendal <micke imendio com>, Alvaro del Castillo <acs barrapunto com>, Kurt Maute <kurt maute us>, Maurice van der Pot <griffon26 kfk4ever com>
- Cc: Planner-Dev-List <planner-dev-list gnome org>
- Subject: [PATCH 02/16] libplanner/mrp-object.c, fix warning: variable 'priv' set but not used
- Date: Thu, 13 Oct 2011 03:30:47 +0800
Signed-off-by: Tinggong Wang <wangtinggong gmail com>
---
libplanner/mrp-object.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/libplanner/mrp-object.c b/libplanner/mrp-object.c
index 2d4fedd..414f119 100644
--- a/libplanner/mrp-object.c
+++ b/libplanner/mrp-object.c
@@ -160,11 +160,6 @@ object_init (MrpObject *object)
static void
object_finalize (GObject *g_object)
{
- MrpObject *object = MRP_OBJECT (g_object);
- MrpObjectPriv *priv;
-
- priv = object->priv;
-
if (G_OBJECT_CLASS (parent_class)->finalize) {
(* G_OBJECT_CLASS (parent_class)->finalize) (g_object);
}
--
1.7.6.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]