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

Tinggong Wang <[email protected]> Thu, 13 Oct 2011 03:30:49 +0800
Newsgroups gmane.comp.gnome.apps.planner.devel
Message-ID <[email protected]>
Signed-off-by: Tinggong Wang <[email protected]>
---
 libplanner/mrp-task.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/libplanner/mrp-task.c b/libplanner/mrp-task.c
index c57ed66..fc6c950 100644
--- a/libplanner/mrp-task.c
+++ b/libplanner/mrp-task.c
@@ -653,12 +653,10 @@ static void
 task_removed (MrpObject *object)
 {
 	MrpTask     *task;
-	MrpTaskPriv *priv;
 
 	g_return_if_fail (MRP_IS_TASK (object));
 
 	task = MRP_TASK (object);
-	priv = task->priv;
 
 	task_remove_assignments (task);
 	task_remove_relations (task);
-- 
1.7.6.4