[PATCH 02/16] libplanner/mrp-object.c, fix warning: variable 'priv' set but not used



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]